Skip to content

Commit

Permalink
Update keyboard/src/modules/Keyboard.rb
Browse files Browse the repository at this point in the history
Co-Authored-By: jsrain <jsrain@suse.cz>
  • Loading branch information
lslezak and jsrain committed Nov 9, 2018
1 parent 8d321b6 commit d10b201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboard/src/modules/Keyboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def GetKeymapForLanguage(sys_language)
kbd_descr = Ops.get_list(keyboards, keyboard, [])
Builtins.y2milestone( "Description for keyboard <%1>: <%2>", keyboard, kbd_descr)

if kbd_descr != [] # keyboard found
if !kbd_descr.empty? # keyboard found
return Ops.get_string(kbd_descr, [1, "ncurses"], "us.map.gz")
end
"us.map.gz"
Expand Down

0 comments on commit d10b201

Please sign in to comment.