#5 changed name logging
This commit is contained in:
4
qlist.py
4
qlist.py
@@ -9,12 +9,12 @@ def buildtorlist(self):
|
||||
while self.torrentlist:
|
||||
torrent = self.torrentlist.pop()
|
||||
if self.use_log:
|
||||
self.tl.debug(f'{torrent["name"]} {torrent["infohash_v1"]}')
|
||||
self.tl.debug(f'["{torrent["name"][0:20]}..."] {torrent["infohash_v1"]}')
|
||||
if torrent['category'] == 'tech':
|
||||
break
|
||||
if torrent['tracker'] == '':
|
||||
if self.use_log:
|
||||
self.tl.warning(f"Torrent doesn't have a tracker{torrent['name']} [{torrent['tracker']}]hash: {torrent['hash']}")
|
||||
self.tl.warning(f'Torrent doesn\'t have a tracker ["{torrent["name"][0:20]}..."] [{torrent["tracker"]}]hash: {torrent["hash"]}')
|
||||
break
|
||||
if self.tracker_whitelist['iptorrents-empirehost'] in torrent['tracker']:
|
||||
if self.use_log:
|
||||
|
||||
Reference in New Issue
Block a user