summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/thandy/formats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py
index c0876df..8a27a65 100644
--- a/lib/thandy/formats.py
+++ b/lib/thandy/formats.py
@@ -654,7 +654,7 @@ def makePackageObj(config_fname, package_fname):
raise thandy.FormatException("missing exe_args value")
extra['exe_args'] = r['exe_args']
if r.get('exe_registry_ent'):
- if len(exe_registry_ent) != 2:
+ if len(r['exe_registry_ent']) != 2:
raise thandy.FormatException("Bad length on exe_registry_ent")
regkey, regval = r['exe_registry_ent']
checkWinRegistryKeyname(regkey)