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"]):
|
if not os.path.exists(self.config["autoadd_location"]):
|
||||||
log.warning("Invalid AutoAdd folder: %s", self.config["autoadd_location"])
|
log.warning("Invalid AutoAdd folder: %s", self.config["autoadd_location"])
|
||||||
component.pause("AutoAdd")
|
component.pause("AutoAdd")
|
||||||
|
return
|
||||||
|
|
||||||
for filename in os.listdir(self.config["autoadd_location"]):
|
for filename in os.listdir(self.config["autoadd_location"]):
|
||||||
if filename.split(".")[-1] == "torrent":
|
if filename.split(".")[-1] == "torrent":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user