mirror of
https://github.com/solero/houdini.git
synced 2024-12-22 13:33:39 +00:00
Change default value to an empty string instead of 0
This commit is contained in:
parent
d2b8475e81
commit
6202fdf875
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user