Skip to content

Commit

Permalink
[patch] Merge pull request #94 from Feramance/92-container-keeps-cras…
Browse files Browse the repository at this point in the history
…hing-attributeerror-nonetype-object-has-no-attribute-torrents_create_tags

Ensure Arr functionality with qbittorrent disabled
  • Loading branch information
Feramance authored Jul 9, 2024
2 parents 9d74b2f + 507389a commit 284a33c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,14 +508,15 @@ def __init__(
else:
self.search_api_command = "MissingEpisodeSearch"

self.manager.qbit_manager.client.torrents_create_tags(
[
"qBitrr-allowed_seeding",
"qBitrr-ignored",
"qBitrr-imported",
"qBitrr-allowed_stalled",
]
)
if not QBIT_DISABLED:
self.manager.qbit_manager.client.torrents_create_tags(
[
"qBitrr-allowed_seeding",
"qBitrr-ignored",
"qBitrr-imported",
"qBitrr-allowed_stalled",
]
)
self.search_setup_completed = False
self.model_file: EpisodeFilesModel | MoviesFilesModel = None
self.series_file_model: SeriesFilesModel = None
Expand Down

0 comments on commit 284a33c

Please sign in to comment.