mirror of
https://github.com/solero/houdini.git
synced 2024-11-21 21:17:21 +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
|
@classmethod
|
||||||
def custom_attribute_by_name(cls, attribute_name):
|
def custom_attribute_by_name(cls, attribute_name):
|
||||||
async def attribute_method(p):
|
async def attribute_method(p):
|
||||||
return p.get_custom_attribute(attribute_name, 0)
|
return p.get_custom_attribute(attribute_name, '')
|
||||||
return attribute_method
|
return attribute_method
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user