From 78248915576539de83f85d938221d9a9ea6586e2 Mon Sep 17 00:00:00 2001 From: Maximilian Dorninger <97409287+maxdorninger@users.noreply.github.com> Date: Sun, 22 Feb 2026 19:51:10 +0100 Subject: [PATCH] Fix qbittorrent category error (#456) This PR fixes an error caused by MM trying to set the category save path to None if the string is empty. --- media_manager/torrent/download_clients/qbittorrent.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/media_manager/torrent/download_clients/qbittorrent.py b/media_manager/torrent/download_clients/qbittorrent.py index d371337..88eb1ac 100644 --- a/media_manager/torrent/download_clients/qbittorrent.py +++ b/media_manager/torrent/download_clients/qbittorrent.py @@ -60,9 +60,7 @@ class QbittorrentDownloadClient(AbstractDownloadClient): try: self.api_client.torrents_create_category( name=self.config.category_name, - save_path=self.config.category_save_path - if self.config.category_save_path != "" - else None, + save_path=self.config.category_save_path, ) except Conflict409Error: try: