Skip to content

Commit a8dbf88

Browse files
authored
Fix empty fprime-gds.yml options error (#258)
* Fix empty fprime-gds.yml options error * readability
1 parent c137914 commit a8dbf88

File tree

1 file changed

+2
-0
lines changed
  • src/fprime_gds/executables

1 file changed

+2
-0
lines changed

src/fprime_gds/executables/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ def parse_args(
374374
def flatten_options(configured_options):
375375
"""Flatten options down to arguments"""
376376
flattened = []
377+
if configured_options is None:
378+
return flattened
377379
for option, value in configured_options.items():
378380
flattened.append(f"--{option}")
379381
if value is not None:

0 commit comments

Comments
 (0)