From 8c8967cf355253d63ec59b4b50d855563bff8a5f Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 23 Feb 2024 10:15:24 +0100 Subject: [PATCH] Fixed f-string --- segno/encoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/segno/encoder.py b/segno/encoder.py index 845a3695..e822109e 100644 --- a/segno/encoder.py +++ b/segno/encoder.py @@ -1286,7 +1286,7 @@ def get_error_name(error_const): for name, val in consts.ERROR_MAPPING.items(): if val == error_const: return name - raise ValueError('Unknown error level "{error_const}"') + raise ValueError(f'Unknown error level "{error_const}"') def get_version_name(version_const):