From 1c7f0c45d18edd6bd7bd414ab2a5e6c786c77d1a Mon Sep 17 00:00:00 2001 From: bobokun Date: Tue, 7 Dec 2021 20:19:24 -0500 Subject: [PATCH] censor url --- qbit_manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbit_manage.py b/qbit_manage.py index 6d4585c..535901c 100644 --- a/qbit_manage.py +++ b/qbit_manage.py @@ -241,7 +241,6 @@ def get_tags(urls): return (new_tag,trunc_val(url, '/'),max_ratio,max_seeding_time,limit_upload_speed) else: return (new_tag,url,max_ratio,max_seeding_time,limit_upload_speed) - logger.warning(f'No tags matched for {url}. Please check your config.yml file. Setting tag to NULL') new_tag = '' max_ratio = '' max_seeding_time = '' @@ -251,6 +250,7 @@ def get_tags(urls): except IndexError as e: logger.debug(f"Tracker Urls:{urls}") logger.debug(e) + logger.warning(f'No tags matched for {url}. Please check your config.yml file. Setting tag to NULL') return (new_tag,url,max_ratio,max_seeding_time,limit_upload_speed)