Skip to content

Commit

Permalink
Merge pull request NAStool#4191 from NAStool/dev
Browse files Browse the repository at this point in the history
fix tags bug
  • Loading branch information
jxxghp authored Apr 8, 2023
2 parents 983feff + bb8ce14 commit 715d6c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/plugins/modules/iyuuautoseed.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import re
from copy import deepcopy
from datetime import datetime
from threading import Event

Expand Down Expand Up @@ -482,7 +483,7 @@ def __download_torrent(self, seed, downloader, save_path):
_, download_id, retmsg = self.downloader.download(
media_info=meta_info,
is_paused=True,
tag=self._torrent_tags,
tag=deepcopy(self._torrent_tags),
downloader_id=downloader,
download_dir=save_path,
download_setting="-2",
Expand Down
3 changes: 2 additions & 1 deletion app/plugins/modules/torrenttransfer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os.path
from copy import deepcopy
from datetime import datetime
from threading import Event

Expand Down Expand Up @@ -392,7 +393,7 @@ def transfer(self):
media_info=MetaInfo("自动转移做种"),
torrent_file=torrent_file,
is_paused=True,
tag=self._torrent_tags,
tag=deepcopy(self._torrent_tags),
downloader_id=todownloader,
download_dir=download_dir,
download_setting="-2",
Expand Down

0 comments on commit 715d6c2

Please sign in to comment.