From c54ac530e1541bc0976793f76344575a3365e026 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 14 Apr 2026 13:50:12 -0400 Subject: [PATCH] Handle some environments where timedatectl does not exist --- 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 872463ec..2e17abef 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -395,7 +395,7 @@ def handle_request(env, start_response): keymap = ckeymap try: tdc = util.run(['timedatectl'])[0].split(b'\n') - except subprocess.CalledProcessError: + except (subprocess.CalledProcessError, FileNotFoundError): tdc = [] currtzvintage = time.time() ncfg['timezone'] = currtz