diff -r 944e58c00ca5 -r 7b421e080636 Beremiz.py --- 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