Skip to content

Commit

Permalink
Keyboard.py: Correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
nautilus7 authored and athoik committed Jan 23, 2022
1 parent 6f7826f commit b3ccb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/Keyboard.py
Expand Up @@ -24,7 +24,7 @@ def readKeyboardMapFiles(self):
if key == "name":
mapName = val
except (IOError, OSError) as err:
print "[Keyboard] Error %d: Opening keymap file '%s'! (%s)" % (err.errno, filename, err.strerror)
print "[Keyboard] Error %d: Opening keymap file '%s'! (%s)" % (err.errno, keymapFile, err.strerror)
if mapFile is not None and mapName is not None:
print "[Keyboard] Adding keymap '%s' ('%s')." % (mapName, mapFile)
self.keyboardMaps.append((mapFile, mapName))
Expand Down

0 comments on commit b3ccb9e

Please sign in to comment.