AutoAdd fix.

This commit is contained in:
Andrew Resch 2008-03-31 12:04:14 +00:00
parent 787de2cfe0
commit 34ca508410
1 changed files with 1 additions and 0 deletions

View File

@ -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":