Skip to content

Commit

Permalink
Attribute error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jan 10, 2024
1 parent 56b1b7d commit 30162f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -3139,6 +3139,8 @@ def _process_single_torrent_process_files(
elif special_case:
self.special_casing_file_check.add(torrent.hash)
for file in torrent.files:
if not hasattr(file, "name"):
continue
file_path = pathlib.Path(file.name)
# Acknowledge files that already been marked as "Don't download"
if file.priority == 0:
Expand Down

0 comments on commit 30162f4

Please sign in to comment.