mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 03:55:43 +00:00
Fix #1014 autoadd should verify that the autoadd location is a directory
This commit is contained in:
parent
0d2c73063c
commit
a23812f880
@ -68,7 +68,7 @@ class AutoAdd(component.Component):
|
||||
return
|
||||
|
||||
# Check the auto add folder for new torrents to add
|
||||
if not os.path.exists(self.config["autoadd_location"]):
|
||||
if not os.path.isdir(self.config["autoadd_location"]):
|
||||
log.warning("Invalid AutoAdd folder: %s", self.config["autoadd_location"])
|
||||
component.pause("AutoAdd")
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user