util/misc.py
changeset 1853 47a3f39bead0
parent 1850 614396cbffbf
child 1862 c4ba411f8c89
--- a/util/misc.py	Mon Oct 09 16:04:39 2017 +0300
+++ b/util/misc.py	Mon Oct 09 18:13:26 2017 +0300
@@ -26,8 +26,13 @@
 Misc definitions
 """
 
+
+from __future__ import absolute_import
 import os
 
+from util.BitmapLibrary import AddBitmapFolder
+from util.TranslationCatalogs import AddCatalog
+
 
 def CheckPathPerm(path):
     """ Helper func to check path write permission """
@@ -53,9 +58,6 @@
 
 
 def InstallLocalRessources(CWD):
-    from BitmapLibrary import AddBitmapFolder
-    from TranslationCatalogs import AddCatalog
-
     # Beremiz bitmaps
     AddBitmapFolder(os.path.join(CWD, "images"))