fixed additonal variables

This commit is contained in:
2022-09-03 18:55:51 -05:00
parent 4317a33647
commit c116a50c17
2 changed files with 9 additions and 9 deletions

View File

@@ -4,9 +4,9 @@ def build_tor_list(self):
V2 will certainly be more performant. The reason two lists were used was so that torrents
that are in public trackers woudln't be around as long as torrents from a private tracker.
"""
self.total_torrents = len(self.torrentlist)
while self.torrentlist:
torrent = self.torrentlist.pop()
self.total_torrents = len(self.torrent_list)
while self.torrent_list:
torrent = self.torrent_list.pop()
if self.use_log:
self.tl.debug(f'["{torrent["name"][0:20]}..."] {torrent["infohash_v1"]}')
if is_ignored_tag(self.ignored_tags.values(),torrent['tags']):