mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-11 06:16:35 +08:00
minor fix
This commit is contained in:
parent
428bb54410
commit
d1947e44dc
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ class Qbt:
|
||||||
fullpath = os.path.join(torrent.save_path, file.name)
|
fullpath = os.path.join(torrent.save_path, file.name)
|
||||||
# Replace fullpath with \\ if qbm is runnig in docker (linux) but qbt is on windows
|
# Replace fullpath with \\ if qbm is runnig in docker (linux) but qbt is on windows
|
||||||
fullpath = fullpath.replace(r'/', '\\') if ':\\' in fullpath else fullpath
|
fullpath = fullpath.replace(r'/', '\\') if ':\\' in fullpath else fullpath
|
||||||
torrent_files.append(os.path.join(torrent.save_path, file.name))
|
torrent_files.append(fullpath)
|
||||||
|
|
||||||
orphaned_files = set(root_files) - set(torrent_files)
|
orphaned_files = set(root_files) - set(torrent_files)
|
||||||
orphaned_files = sorted(orphaned_files)
|
orphaned_files = sorted(orphaned_files)
|
||||||
|
|
Loading…
Add table
Reference in a new issue