From 2bbab96ca742dc005153ac6672749dde7df7be5c35a6a789070b2c1055fb815f Mon Sep 17 00:00:00 2001 From: emanuele Date: Tue, 12 May 2026 16:48:04 +0200 Subject: [PATCH] rm unnecessary fstring --- src/APIHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/APIHandler.py b/src/APIHandler.py index 95cc862..534c376 100644 --- a/src/APIHandler.py +++ b/src/APIHandler.py @@ -65,12 +65,12 @@ class APIHandler: case 404: # Lapalissian: raise ConnectionError( - f"404: Not Found. This means there's no resource with this elabid (wrong elabid?) on your eLabFTW (wrong endpoint?)." + "404: Not Found. This means there's no resource with this elabid (wrong elabid?) on your eLabFTW (wrong endpoint?)." ) case 400: # I genuinely have no idea: raise ConnectionError( - f"400: Bad Request. This means the API endpoint you tried to reach is invalid. Did you tamper with the source code? If not, contact the developer." + "400: Bad Request. This means the API endpoint you tried to reach is invalid. Did you tamper with the source code? If not, contact the developer." ) case _: # For some fucking reason, this is the only error I actually get from the API...