mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
AutoAdd fix.
This commit is contained in:
parent
787de2cfe0
commit
34ca508410
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue