Skip to content

Commit 987e75a

Browse files
authored
Merge pull request #354 from ManiMatter/only-use-unwanted-folder-with-remove-bad-files
Bugfix: Do not turn on use of .unwanted folder unless remove_bad_files is turned on
2 parents c137f56 + b572939 commit 987e75a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/settings/_download_clients_qbit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async def create_required_tags(self):
170170

171171
async def set_unwanted_folder(self):
172172
"""Set the 'unwanted folder' setting in qBittorrent if needed."""
173-
if self.settings.jobs.remove_bad_files:
173+
if self.settings.jobs.remove_bad_files.enabled:
174174
logger.debug(
175175
"_download_clients_qBit.py/set_unwanted_folder: Checking preferences and setting use_unwanted_folder if not already set",
176176
)

0 commit comments

Comments
 (0)