fixed preme calculation bug and added exec time

This commit is contained in:
jblu committed 2022-08-01 13:01:00 -05:00
1 parent fca54f8952
commit 357591227e
3 files changed
+24 -6

No files matched your search

+1 -1
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():