Skip to content

Commit

Permalink
fix: the bug of send magnet link
Browse files Browse the repository at this point in the history
Signed-off-by: miRemid <[email protected]>
  • Loading branch information
miRemid committed Nov 13, 2023
1 parent a062799 commit 2385641
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def send_torrent_task(self, task: Task) -> TypeError:
logging.info('Start torrent download:%s, path:%s', task.url, download_path)
tags = task.extra_param('tags', self.download_tags)
category = task.extra_param('category', self.download_category)
use_auto_torrent_management = task.extra_param('auto_management', self.use_auto_torrent_management)
use_auto_torrent_management = task.extra_param('use_auto_torrent_management', self.use_auto_torrent_management)
if not category:
use_auto_torrent_management = False
try:
Expand All @@ -85,7 +85,7 @@ def send_magnet_task(self, task: Task) -> TypeError:
download_path = os.path.join(self.download_base_path, task.path)
tags = task.extra_param('tags', self.download_tags)
category = task.extra_param('category', self.download_category)
use_auto_torrent_management = task.extra_param('auto_management', self.use_auto_torrent_management)
use_auto_torrent_management = task.extra_param('use_auto_torrent_management', self.use_auto_torrent_management)
if not category:
use_auto_torrent_management = False
try:
Expand Down

0 comments on commit 2385641

Please sign in to comment.