From 35aca0f609f21238f36cab23a3a453f45735185d Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Sat, 9 Jul 2022 18:31:16 -0300 Subject: [PATCH] fix F_STRINGS_AVAILABLE check --- svgpathtools/svg_to_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svgpathtools/svg_to_paths.py b/svgpathtools/svg_to_paths.py index 270fa2e..b1c8428 100644 --- a/svgpathtools/svg_to_paths.py +++ b/svgpathtools/svg_to_paths.py @@ -19,7 +19,7 @@ from .parser import parse_path # f-strings are available in Python 3.6+ -F_STRINGS_AVAILABLE = version_info < (3, 6) +F_STRINGS_AVAILABLE = version_info >= (3, 6) COORD_PAIR_TMPLT = re.compile( r'([\+-]?\d*[\.\d]\d*[eE][\+-]?\d+|[\+-]?\d*[\.\d]\d*)' +