myslice.ini possible themes = onelab, fed4fire, fibre, smartfire
[myslice.git] / portal / platformview.py
index 6f537d0..a39fce9 100644 (file)
@@ -14,7 +14,7 @@ from ui.topmenu                  import topmenu_items_live, the_user
 
 from plugins.querytable          import QueryTable
 
-from myslice.config              import Config
+from myslice.configengine        import ConfigEngine
 
 # View for 1 platform and its details
 class PlatformView(FreeAccessView):
@@ -82,7 +82,7 @@ class PlatformView(FreeAccessView):
             query      = query_resource_default_fields,
             query_all  = query_resource_all,
             # this key is the one issued by google
-            googlemap_api_key = Config().googlemap_api_key(),
+            googlemap_api_key = ConfigEngine().googlemap_api_key(),
             # the key to use at init-time
             init_key   = main_query_init_key,
             checkboxes = False,