Skip to content

Commit d1f79f2

Browse files
authored
Merge pull request #281 from soraxas/fix/unbounded-var
Actually fallback to default dict
2 parents 62a4dd1 + 82dd9d3 commit d1f79f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

TodoParser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def __init__(self, options=dict()):
4141
custom_identifiers_dict = json.loads(custom_identifiers)
4242
except json.JSONDecodeError:
4343
print('Invalid identifiers dict, ignoring.')
44+
custom_identifiers_dict = dict()
4445
else:
4546
custom_identifiers_dict = options.get("identifiers", None)
4647
if custom_identifiers_dict:

0 commit comments

Comments
 (0)