Fixed import error when loading extensions
authorEdouard Tisserant
Fri, 14 Feb 2014 21:27:49 +0100
changeset 1393 e6c3908c925d
parent 1392 7d295f013061
child 1394 d11ca4dd5135
Fixed import error when loading extensions
Beremiz.py
--- a/Beremiz.py	Wed Jan 29 00:38:23 2014 +0100
+++ b/Beremiz.py	Fri Feb 14 21:27:49 2014 +0100
@@ -115,6 +115,8 @@
 
     # Load extensions
     for extfilename in extensions:
+        from util.TranslationCatalogs import AddCatalog
+        from util.BitmapLibrary import AddBitmapFolder
         extension_folder = os.path.split(os.path.realpath(extfilename))[0]
         sys.path.append(extension_folder)
         AddCatalog(os.path.join(extension_folder, "locale"))