summaryrefslogtreecommitdiff
path: root/asciifarm/client/loaders.py
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2019-01-18 17:59:45 +0100
committertroido <troido@protonmail.com>2019-01-18 17:59:45 +0100
commit01399d4be6f3dacb7c0bed2b84edbbc63331b83e (patch)
treeb0293a505158c6a537ee75320469cc335de07b89 /asciifarm/client/loaders.py
parentb4cb3cf82337c5a0d560fd77c9a921298b07aa21 (diff)
config templates are now actually used
Diffstat (limited to 'asciifarm/client/loaders.py')
-rw-r--r--asciifarm/client/loaders.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/asciifarm/client/loaders.py b/asciifarm/client/loaders.py
index 0b4c5b7..8330e0e 100644
--- a/asciifarm/client/loaders.py
+++ b/asciifarm/client/loaders.py
@@ -23,7 +23,7 @@ def loadKeybindings(name):
for ftemplate in data.get("templates", []):
if ftemplate.partition(os.sep)[0] in {".", ".."}:
ftemplate = os.path.relpath(ftemplate, fname)
- template = loadKeyBindings(ftemplate)
+ template = loadKeybindings(ftemplate)
bindings.update(template.get("actions", {}))
help = template.get("help", help)
bindings.update(data.get("actions", {}))
@@ -31,7 +31,7 @@ def loadKeybindings(name):
return {"actions": bindings, "help": help}
-standardCharFiles = {name, os.path.join(charmapPath, file) for name, file in {
+standardCharFiles = {name: os.path.join(charmapPath, file) for name, file in {
"default": "default.json",
"fullwith": "fullwidth.json",
"fw": "fullwidth.json",