From 38d31cb620a6ecf2e59ac29e6cc35ce35eba241a Mon Sep 17 00:00:00 2001 From: Sebastian Quintero Date: Mon, 21 Oct 2024 12:30:37 -0500 Subject: [PATCH] Correct syntax for <= 3.11 --- src/nextroute/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nextroute/options.py b/src/nextroute/options.py index 10df971..b565416 100644 --- a/src/nextroute/options.py +++ b/src/nextroute/options.py @@ -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: