2
0
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:
Jarrod Johnson 2023-07-06 14:04:49 -04:00
parent fcc62b7cb7
commit a875f0d3e1

View File

@ -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