From 34ca5084108e3962b8651f2b6d052dc33d6fce7e Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 31 Mar 2008 12:04:14 +0000 Subject: [PATCH] AutoAdd fix. --- deluge/core/autoadd.py | 1 + 1 file changed, 1 insertion(+) 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":