Change default value to an empty string instead of 0

This commit is contained in:
roan 2020-06-06 23:35:18 +01:00
parent d2b8475e81
commit 6202fdf875

View File

@ -117,7 +117,7 @@ class PenguinStringCompiler(OrderedDict):
@classmethod
def custom_attribute_by_name(cls, attribute_name):
async def attribute_method(p):
return p.get_custom_attribute(attribute_name, 0)
return p.get_custom_attribute(attribute_name, '')
return attribute_method
@classmethod