mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Correct syntax error in selfservice
This commit is contained in:
parent
fcc62b7cb7
commit
a875f0d3e1
@ -570,7 +570,7 @@ def get_scriptlist(scriptcat, cfg, nodename, pathtemplate):
|
||||
if not os.path.isdir(target) and os.path.isdir(target + '.d'):
|
||||
target = target + '.d'
|
||||
try:
|
||||
slist = list(util.natural_sort(os.listdir(target))
|
||||
slist = list(util.natural_sort(os.listdir(target)))
|
||||
except OSError:
|
||||
pass
|
||||
return slist, profile
|
||||
|
Loading…
Reference in New Issue
Block a user