From 6202fdf8758144dae3d7cfb88e338b63020f9a46 Mon Sep 17 00:00:00 2001 From: roan Date: Sat, 6 Jun 2020 23:35:18 +0100 Subject: [PATCH] Change default value to an empty string instead of 0 --- houdini/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/__init__.py b/houdini/__init__.py index 3f604a5..e36d73c 100644 --- a/houdini/__init__.py +++ b/houdini/__init__.py @@ -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