bug fix: get_tags

This commit is contained in:
Jon 2021-11-28 22:07:01 -05:00
parent ddb2cc518f
commit 615e5967cd
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -218,6 +218,10 @@ def get_tags(urls):
if 'tags' in cfg and cfg["tags"] != None and urls:
tag_values = cfg['tags']
for tag_url, tag_details in tag_values.items():
new_tag = ''
max_ratio = ''
max_seeding_time = ''
limit_upload_speed = ''
# If using Format 1
if(type(tag_details) == str):
new_tag = tag_details