Skip to content

Commit

Permalink
Parse yaml directories as key=value pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinahafner authored Jun 7, 2022
1 parent e75c604 commit 0a050ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configargparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ def parse(self, stream):
for key, value in parsed_obj.items():
if isinstance(value, list):
result[key] = value
elif isinstance(value, dict):
result[key] = value
elif value is None:
pass
else:
Expand Down

0 comments on commit 0a050ab

Please sign in to comment.