Skip to content

Commit 69ff181

Browse files
committed
Fix setDeepProperty that should initialize with empty dict
1 parent c063ce5 commit 69ff181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Blackprint/Utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setDeepProperty(obj, path, value = None):
1111
last = path.pop()
1212
for key in path:
1313
if(key not in obj):
14-
obj[key] = []
14+
obj[key] = {}
1515

1616
obj = obj[key]
1717

0 commit comments

Comments
 (0)