diff options
Diffstat (limited to 'macropad.pyw')
-rwxr-xr-x | macropad.pyw | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macropad.pyw b/macropad.pyw index 2687065..55bb1cf 100755 --- a/macropad.pyw +++ b/macropad.pyw @@ -25,8 +25,10 @@ config_file = path.join(script_path, "config.ini") config = configparser.ConfigParser(delimiters="=") config.read(config_file) +from collections import OrderedDict + init_mapping = config["mapping"] -mapping = dict(init_mapping) +mapping = OrderedDict(init_mapping) from queue import Queue q = Queue() |