diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index cb05b2b7f50d69022d7320a958843f65380a7de0..2f215a6acb9ecebc5dddb35af6be271b5616f366 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -1600,7 +1600,7 @@ def crawler_main(crawled_directory_path: str,
 
         if "SHARED_DIR" in os.environ:
             domain = get_config_setting("public_host_url")
-            # pylint: disable-next=used-before-assignment
+            # pylint: disable-next=E0601
             logger.error("Unexpected Error: Please tell your administrator about this and provide the"
                          f" following path.\n{domain}/Shared/" + debuglog_public)
         _update_status_record(crawler.run_id, 0, 0, status="FAILED")