Skip to content

Commit

Permalink
Initialize FLOW_ARGS_DICT to an empty dict instead of None if it does…
Browse files Browse the repository at this point in the history
…n't exist
  • Loading branch information
yonnorc42 committed Nov 15, 2023
1 parent 1bd8718 commit a458c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bfasst/ninja_flows/ninja_flow_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_design_basenames(designs):
if parsed_args.flow_args:
FLOW_ARGS_DICT = json.loads(parsed_args.flow_args.replace("'", '"'))
else:
FLOW_ARGS_DICT = None
FLOW_ARGS_DICT = {}

flow_manager = NinjaFlowManager()
flow_manager.create_flows(
Expand Down

0 comments on commit a458c7d

Please sign in to comment.