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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user