diff --git a/deluge/core/autoadd.py b/deluge/core/autoadd.py index 00c51e23f..03c3016fb 100644 --- a/deluge/core/autoadd.py +++ b/deluge/core/autoadd.py @@ -62,6 +62,7 @@ class AutoAdd(component.Component): if not os.path.exists(self.config["autoadd_location"]): log.warning("Invalid AutoAdd folder: %s", self.config["autoadd_location"]) component.pause("AutoAdd") + return for filename in os.listdir(self.config["autoadd_location"]): if filename.split(".")[-1] == "torrent":