From f2a721b0b28d8eceda7ed11c4e7260f42c42da38 Mon Sep 17 00:00:00 2001 From: Feramance Date: Fri, 28 Jun 2024 11:55:19 +0200 Subject: [PATCH] Fixed delay condition --- qBitrr/arss.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 0da725d7..73ff48e0 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -3985,12 +3985,12 @@ def _process_single_torrent(self, torrent: qbittorrentapi.TorrentDictionary): torrent.name, time.time(), torrent.added_on, - time.time() + timedelta(minutes=self.stalled_delay).seconds, + torrent.added_on + timedelta(minutes=self.stalled_delay).seconds, ) if ( self.stalled_delay > 0 - and torrent.added_on - >= time.time() + timedelta(minutes=self.stalled_delay).seconds + and time.time() + >= torrent.added_on + timedelta(minutes=self.stalled_delay).seconds ): stalled_ignore = False elif "qBitrr-allowed_stalled" not in torrent.tags: