mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
Fix #1014 autoadd should verify that the autoadd location is a directory
This commit is contained in:
parent
0d2c73063c
commit
a23812f880
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class AutoAdd(component.Component):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check the auto add folder for new torrents to add
|
# 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"])
|
log.warning("Invalid AutoAdd folder: %s", self.config["autoadd_location"])
|
||||||
component.pause("AutoAdd")
|
component.pause("AutoAdd")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue