mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-09-20 15:26:02 +08:00
fix get_tags bug
This commit is contained in:
parent
1c7f0c45d1
commit
68794b627a
|
@ -212,6 +212,7 @@ def get_tags(urls):
|
|||
max_ratio = ''
|
||||
max_seeding_time = ''
|
||||
limit_upload_speed = ''
|
||||
url = ''
|
||||
try:
|
||||
url = trunc_val(urls[0], '/')
|
||||
except IndexError as e:
|
||||
|
@ -224,6 +225,7 @@ def get_tags(urls):
|
|||
max_ratio = ''
|
||||
max_seeding_time = ''
|
||||
limit_upload_speed = ''
|
||||
url = ''
|
||||
# If using Format 1
|
||||
if(type(tag_details) == str):
|
||||
new_tag = tag_details
|
||||
|
@ -245,6 +247,7 @@ def get_tags(urls):
|
|||
max_ratio = ''
|
||||
max_seeding_time = ''
|
||||
limit_upload_speed = ''
|
||||
url = ''
|
||||
try:
|
||||
url = trunc_val(urls[0], '/')
|
||||
except IndexError as e:
|
||||
|
|
Loading…
Reference in a new issue