--- a/Beremiz.py Mon May 21 02:01:51 2012 +0200
+++ b/Beremiz.py Mon May 21 02:49:53 2012 +0200
@@ -149,7 +149,7 @@
# Load extensions
for extfilename in extensions:
sys.path.append(os.path.split(os.path.realpath(extfilename))[0])
- execfile(a, locals())
+ execfile(extfilename, locals())
import wx.lib.buttons, wx.lib.statbmp
from util.TextCtrlAutoComplete import TextCtrlAutoComplete
--- a/ProjectController.py Mon May 21 02:01:51 2012 +0200
+++ b/ProjectController.py Mon May 21 02:49:53 2012 +0200
@@ -1,7 +1,6 @@
"""
Beremiz Project Controller
"""
-
import os,sys,traceback
import time
import features
--- a/svgui/svgui.py Mon May 21 02:01:51 2012 +0200
+++ b/svgui/svgui.py Mon May 21 02:49:53 2012 +0200
@@ -4,7 +4,7 @@
from pyjs import translate
from POULibrary import POULibrary
-from docutils import *
+from docutil import open_svg
class SVGUILibrary(POULibrary):
def GetLibraryPath(self):