fix bugs
smbaker [Tue, 15 Jan 2013 07:18:23 +0000 (23:18 -0800)]
apps/gacks/bridgeconfig.py

index 9276782..d9b3c43 100644 (file)
@@ -71,12 +71,12 @@ class WizardHelper:
         tag = self.get_tag("slice_wizardconfig", None)
         if tag is not None:
             try:
-                self.wizard_config = literal_eval(tags[0]["value"])
+                self.wizard_config = literal_eval(tag["value"])
             except:
                 self.wizard_config = {}
 
         if name:
-            return self.wizard_config.get("name", default)
+            return self.wizard_config.get(name, default)
 
         return self.wizard_config