From 70ef7d03efba7111a3ba88e55706ca4167380c4b Mon Sep 17 00:00:00 2001 From: smartwa Date: Mon, 6 May 2024 19:27:51 +0300 Subject: [PATCH] fix: Corrected dictionary access in logging error message --- src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index 9991fc8e4..05cccda7e 100644 --- a/src/run.py +++ b/src/run.py @@ -76,7 +76,7 @@ def check_status( return True except Exception as e: logging.error( - f'[{proxy_in_dict['https']}] {e.args[1] if e.args and len(e.args)>1 else e}' + f'[{proxy_in_dict["https"]}] {e.args[1] if e.args and len(e.args)>1 else e}' ) return False