fixed reading cat file

This commit is contained in:
2022-07-23 00:42:05 -05:00
parent 27bc8e171b
commit 972e9bc517
3 changed files with 4 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ def torprocessor(self):
If torrent meets criteria for deletion, its infohash_v1 will be appended to self.torrent_hash_delete_list
"""
for canidate in self.tracker_nonprotected_list:
if canidate['tags'] in self.cat_whitelist.values():
if self.config["protected_tag"] in canidate['tags']:
if self.use_log:
self.tl.warning(f'["{canidate["name"][0:20]}..."] was in non-protected list.')
continue