fixed preme calculation bug and added exec time
This commit is contained in:
1 parent
fca54f8952
commit
357591227e
3 files changed
+24
-6
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user