Beremiz.py
changeset 737 7b421e080636
parent 736 944e58c00ca5
child 738 413946c04c87
--- 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