Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Apr 27, 2023
1 parent beec396 commit 76e9750
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlonmcu/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def str2dict(value, allow_none=False):
if isinstance(value, dict):
return value
assert isinstance(value, str)
# TODO: parse key=value,key2=value2 via regex
return dict(ast.literal_eval(value))


Expand Down

0 comments on commit 76e9750

Please sign in to comment.