From a875f0d3e1d4b3cc54bed87045583e4b709f0875 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 6 Jul 2023 14:04:49 -0400 Subject: [PATCH] Correct syntax error in selfservice --- confluent_server/confluent/selfservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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