From 330c3fa34956b71eb46554d8b27d36a739c717a0 Mon Sep 17 00:00:00 2001 From: sharky555 Date: Sat, 30 Apr 2022 16:51:22 -0600 Subject: [PATCH] update --- upload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/upload.py b/upload.py index d1587a2..7153c70 100644 --- a/upload.py +++ b/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}")