diff --git a/confluent_server/confluent/selfservice.py b/confluent_server/confluent/selfservice.py index 9000beb4..04030491 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -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