AutoAdd fix.
This commit is contained in:
parent
787de2cfe0
commit
34ca508410
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue