fixed preme calculation bug and added exec time

This commit is contained in:
2022-08-01 13:01:00 -05:00
parent fca54f8952
commit 357591227e
3 changed files with 24 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ def buildtorlist(self):
torrent = self.torrentlist.pop()
if self.use_log:
self.tl.debug(f'["{torrent["name"][0:20]}..."] {torrent["infohash_v1"]}')
if torrent['added_on'] + self.minimum_age <= self.t.time():
if torrent['added_on'] + self.minimum_age >= self.t.time():
self.preme_tor_counter += 1
continue
if torrent['category'] in self.cat_whitelist.values():