diff --git a/modules/qbittorrent.py b/modules/qbittorrent.py index e0d8a9e..c26a274 100755 --- a/modules/qbittorrent.py +++ b/modules/qbittorrent.py @@ -553,8 +553,6 @@ class Qbt: min_seeding_time = tracker["min_seeding_time"] elif nohardlinks[category]["min_seeding_time"]: min_seeding_time = nohardlinks[category]["min_seeding_time"] - else: - min_seeding_time = min_seeding_time # Determine max_ratio. # If only tracker setting is set, use tracker's max_ratio # If only nohardlinks category setting is set, use nohardlinks category's max_ratio @@ -565,8 +563,6 @@ class Qbt: max_ratio = tracker["max_ratio"] elif nohardlinks[category]["max_ratio"]: max_ratio = nohardlinks[category]["max_ratio"] - else: - max_ratio = max_ratio # Determine max_seeding_time. # If only tracker setting is set, use tracker's max_seeding_time # If only nohardlinks category setting is set, use nohardlinks category's max_seeding_time @@ -580,8 +576,6 @@ class Qbt: max_seeding_time = tracker["max_seeding_time"] elif nohardlinks[category]["max_seeding_time"]: max_seeding_time = nohardlinks[category]["max_seeding_time"] - else: - max_seeding_time = max_seeding_time # Will only tag new torrents that don't have nohardlinks_tag tag if self.config.nohardlinks_tag not in torrent.tags: add_tag_no_hl(add_tag=True)