mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
|
||||
|
||||
# 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…
Add table
Reference in a new issue