1. pydica
  2. pydica
  3. tiffany

Commits

Christian Tismer  committed 8d47c72

be consequent with relative imports

  • Participants
  • Parent commits 6791bd3
  • Branches default
  • Tags v0.2 pre-pip

Comments (0)

Files changed (1)

File tiffany/__init__.py

View file
 __file__ = os.path.realpath(__file__)
 
 def start_mapper():
-    from import_mapper import install_mapper
+    from .import_mapper import install_mapper
     __path__.append(os.path.join(__path__[0], 'from-pil'))
     install_mapper()
     
 def stop_mapper():
-    from import_mapper import uninstall_mapper
+    from .import_mapper import uninstall_mapper
     __path__[1:] = []
     uninstall_mapper()