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...