Skip to content

Commit 82dd9d3

Browse files
committed
actually fallback to default dict
Signed-off-by: Tin Lai <[email protected]>
1 parent 62a4dd1 commit 82dd9d3

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)