Fix wrong usage of asbool in layout-xkb

This commit is contained in:
Alexander Scheid-Rehder 2020-08-06 14:49:41 +02:00
parent f75f1a9f26
commit 5959d73cde

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: