1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00

fix console keymap auto related error

This commit is contained in:
catborise 2020-07-20 12:00:01 +03:00
parent 845c78c564
commit 74028f35b8

View file

@ -993,7 +993,7 @@ class wvmInstance(wvmConnect):
except SyntaxError: except SyntaxError:
# Little fix for old version ElementTree # Little fix for old version ElementTree
graphic = root.find("devices/graphics") graphic = root.find("devices/graphics")
if keymap: if keymap != 'auto':
graphic.set('keymap', keymap) graphic.set('keymap', keymap)
else: else:
try: try: