diff --git a/webservice/webservice.py b/webservice/webservice.py
index 218ef6799939a9f10b474e26fb4e24e5c6faa15c..43b0ecc6e6145361dca6d1d767d8135de1a8ec6d 100644
--- a/webservice/webservice.py
+++ b/webservice/webservice.py
@@ -391,7 +391,7 @@ def update_job_db(config):
                                   action, rid)
                     logging.error(Errors.MDC_RESPONSE.format(response))
         except Exception:
-            logging.error(f"Failure to update job DB", exc_info=True)
+            logging.error("Failure to update job DB", exc_info=True)
 
         time.sleep(time_interval)
 
@@ -805,7 +805,7 @@ class ActionsServer:
                                                            out_folder,
                                                            runnr))
             except Exception as corr_e:
-                logging.error(f"Error during correction", exc_info=corr_e)
+                logging.error("Error during correction", exc_info=corr_e)
                 await update_mdc_status(self.mdc, 'correct', rid,
                                         Errors.REQUEST_FAILED)
                 return