fix get_tags bug

This commit is contained in:
bobokun 2021-12-07 20:47:52 -05:00 committed by GitHub
parent 1c7f0c45d1
commit 68794b627a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: