Updated imports to check for GIS availability
authortflorac@dagon.home
Sun, 09 Sep 2018 11:17:42 +0200
changeset 138 d39947a2130b
parent 137 2e2015661809
child 139 61ba7f260f3b
Updated imports to check for GIS availability
src/pyams_default_theme/component/paragraph/map.py
--- a/src/pyams_default_theme/component/paragraph/map.py	Fri Sep 07 17:23:51 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/map.py	Sun Sep 09 11:17:42 2018 +0200
@@ -13,14 +13,14 @@
 __docformat__ = 'restructuredtext'
 
 
-from pyams_content.component.paragraph.interfaces.map import have_gis, IMapParagraph
+from pyams_content.component.paragraph.interfaces.map import have_gis
 if have_gis:
 
     # import standard library
 
     # import interfaces
     from pyams_content.features.renderer.interfaces import IContentRenderer
-    from pyams_default_theme.component.paragraph.interfaces.map import IMapParagraphDefaultRendererSettings
+    from pyams_default_theme.component.paragraph.interfaces.map import IMapParagraph, IMapParagraphDefaultRendererSettings
     from pyams_gis.interfaces.configuration import IMapConfiguration
     from pyams_gis.interfaces.utility import IMapManager
     from pyams_skin.layer import IPyAMSLayer