Fix bug in json logic

This commit is contained in:
Eric Gable
2014-02-19 14:44:21 -08:00
parent 05b043a2e2
commit b7f8091b2a
+1 -1
View File
@@ -2680,7 +2680,7 @@ class ExtensionsConfig(object):
else :
jsn= json.loads(manifest)
if jsn.has_key('handlerManifest') :
cmd = jsn.[handlerManifest]['installCommand']
cmd = jsn[handlerManifest]['installCommand']
else :
Error('Key handlerManifest not found. Handler cannot be installed.')
if len(cmd) == 0 :