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}")