mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 08:42:59 -07:00
Fix error when script directory doesn't exist
This commit is contained in:
parent
c98cf858c1
commit
36a99f70a3
1 changed files with 1 additions and 1 deletions
|
@ -1786,7 +1786,7 @@ class Scripts(object):
|
|||
scripts = {'': ''}
|
||||
|
||||
if scriptdir and not os.path.exists(scriptdir):
|
||||
os.makedirs(scriptdir)
|
||||
return scripts
|
||||
|
||||
for root, dirs, files in os.walk(scriptdir):
|
||||
for f in files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue