瀏覽代碼

update

master
sharky555 2 年之前
父節點
當前提交
330c3fa349
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      upload.py

+ 3
- 2
upload.py 查看文件

@@ -601,5 +601,6 @@ if __name__ == "__main__":
# localfileorganization(torrent=torrentfile, directory=directory, watch_folder=local_watch_folder, downloads_folder=local_downloads_folder)
if cfg['local_prefs']['add_to_watch_folder']:
os.rename(torrentfile, f"{local_watch_folder}/{torrentfile}")
if not dryrun:
if cfg['local_prefs']['add_to_watch_folder']:
os.rename(torrentfile, f"{local_watch_folder}/{torrentfile}")

Loading…
取消
儲存