Merge pull request #688 from alexsr/master

Fix wrong usage of asbool in layout-xkb
This commit is contained in:
tobi-wan-kenobi 2020-08-06 16:40:37 +02:00 committed by GitHub
commit b368cb49da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ class Module(core.module.Module):
log.debug("group num: {}".format(xkb.group_num))
name = (
xkb.group_name
if util.format.asbool(self.parameter("showname"), False)
if util.format.asbool(self.parameter("showname", False))
else xkb.group_symbol
)
if self.__show_variant: