keytests: Wrong check for empty key in associative array

This commit is contained in:
Kornel Benko 2017-05-21 18:38:48 +02:00
parent 1f6104fe71
commit b5229cc5a2

View File

@ -503,7 +503,7 @@ def PrepareShortcuts():
if m:
bindfound = True
val = m.group(1)
if not bindings[val] is None:
if val in bindings:
if bindings[val] != "":
tmp.write("\\bind \"" + val + "\" \"" + bindings[val] + "\"\n")
bindings[val] = ""