From 65cbe906a508f3bdc2eca53171a2055a76986e86 Mon Sep 17 00:00:00 2001 From: Tiago Pires Date: Tue, 11 Jun 2024 17:34:34 +0100 Subject: [PATCH] deleted f string in python 2.7 script --- piglot/solver/abaqus/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piglot/solver/abaqus/reader.py b/piglot/solver/abaqus/reader.py index cec0c2f..ae97bd0 100644 --- a/piglot/solver/abaqus/reader.py +++ b/piglot/solver/abaqus/reader.py @@ -224,7 +224,7 @@ def find_case_insensitive_key(key_name, keys_list): keys_list_upper = [key.upper() for key in keys_list] key_name_upper = key_name.upper() if key_name_upper not in keys_list_upper: - raise ValueError(f"{key_name} not found.") + raise ValueError("{} not found.".format(key_name)) return keys_list[keys_list_upper.index(key_name_upper)] def main():