From 43aebb7e32d91c6bc867a920c7258b8dae8b3521 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Tue, 4 Apr 2023 21:49:09 -0500 Subject: [PATCH] Fixup! --- modules/qbittorrent.py | 6 ------ 1 file changed, 6 deletions(-) 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)