Skip to content

Commit

Permalink
fixed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
varthe committed Dec 22, 2024
1 parent aa9849c commit 603f438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blackhole.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def print(*values: object):

torrentHash = torrent.getHash()
history = await asyncio.to_thread(arr.getHistory, blackhole['historyPageSize'])
items = [item for item in history if(item.torrentInfoHash and item.torrentInfoHash.casefold() == torrentHash.casefold()) or cleanFileName(item.sourceTitle.casefold()) == torrent.file.fileInfo.filenameWithoutExt.casefold()]
items = [item for item in history if (item.torrentInfoHash and item.torrentInfoHash.casefold() == torrentHash.casefold()) or cleanFileName(item.sourceTitle.casefold()) == torrent.file.fileInfo.filenameWithoutExt.casefold()]
if not items:
message = "No history items found to mark as failed. Arr will not attempt to grab an alternative."
print(message)
Expand Down

0 comments on commit 603f438

Please sign in to comment.