Skip to content

Commit

Permalink
Correct syntax for <= 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-quintero committed Oct 21, 2024
1 parent 54d05d9 commit 38d31cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextroute/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def to_args(self) -> List[str]:
if value == default_value:
continue

key = f"-{key.replace("_", ".").lower()}"
key = f"-{key.replace('_', '.').lower()}"

str_value = json.dumps(value)
if key in _DURATIONS_ARGS:
Expand Down

0 comments on commit 38d31cb

Please sign in to comment.