2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-19 23:31:27 +00:00

Merge branch 'master' into async

This commit is contained in:
Jarrod Johnson
2026-04-14 13:51:36 -04:00

View File

@@ -363,7 +363,7 @@ async def handle_request(req, make_response, mimetype):
try:
tdcout, tdcerr = await util.check_output('timedatectl')
tdc = tdcout.split(b'\n')
except subprocess.CalledProcessError:
except (subprocess.CalledProcessError, FileNotFoundError):
tdc = []
currtzvintage = time.time()
ncfg['timezone'] = currtz