mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-22 03:36:57 +08:00
Add additional debug message for malformed urls
This commit is contained in:
parent
d26671e5f4
commit
15f71f8678
2 changed files with 5 additions and 3 deletions
2
.github/workflows/latest.yml
vendored
2
.github/workflows/latest.yml
vendored
|
@ -3,8 +3,6 @@ name: Docker Latest Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|
|
@ -212,7 +212,11 @@ def get_tags(urls):
|
||||||
max_ratio = ''
|
max_ratio = ''
|
||||||
max_seeding_time = ''
|
max_seeding_time = ''
|
||||||
limit_upload_speed = ''
|
limit_upload_speed = ''
|
||||||
url = trunc_val(urls[0], '/')
|
try:
|
||||||
|
url = trunc_val(urls[0], '/')
|
||||||
|
except IndexError as e:
|
||||||
|
logger.debug(f"Tracker Urls:{urls}")
|
||||||
|
logger.debug(e)
|
||||||
if 'tags' in cfg and cfg["tags"] != None and urls:
|
if 'tags' in cfg and cfg["tags"] != None and urls:
|
||||||
tag_values = cfg['tags']
|
tag_values = cfg['tags']
|
||||||
for tag_url, tag_details in tag_values.items():
|
for tag_url, tag_details in tag_values.items():
|
||||||
|
|
Loading…
Add table
Reference in a new issue