Variable name typo
authorKostas Papadimitriou <kpap@grnet.gr>
Tue, 31 Jul 2012 18:49:35 +0000 (21:49 +0300)
committerKostas Papadimitriou <kpap@grnet.gr>
Tue, 31 Jul 2012 18:49:35 +0000 (21:49 +0300)
cloudcms/forms.py

index c14c909..e5cc0dc 100644 (file)
@@ -49,7 +49,7 @@ RESIZE_GEOMETRY = getattr(settings, 'CMS_RST_IMPORT_RESIZE_GEOMETRY',
 
 def service_from_filename(rst):
     fname = os.path.basename(rst).replace(".rst","")
-    service_slug = DEFAULT_SERVICE_MAP.get(fname, None)
+    service_slug = SERVICE_MAP.get(fname, None)
     if not service_slug:
         return None