--- a/LPCManager.py Thu Oct 04 18:02:50 2012 +0200
+++ b/LPCManager.py Wed Feb 20 18:45:28 2013 +0100
@@ -55,15 +55,15 @@
_base_folder = os.path.split(sys.path[0])[0]
sys.path.append(os.path.join(_base_folder, "beremiz"))
-from util.TranslationCatalogs import AddCatalog, locale
+from util.TranslationCatalogs import AddCatalog AddCatalog(os.path.join(CWD, "locale"))
if __name__ == '__main__':
# Import module for internationalization
- __builtin__.__dict__['loc'] = locale
- __builtin__.__dict__['_'] = wx.GetTranslation
+ #__builtin__.__dict__['_'] = wx.GetTranslation + __builtin__.__dict__['_'] = lambda x: x _base_path = os.path.split(__file__)[0]
@@ -1814,8 +1814,8 @@
line = self.Buffer[:idx+1]
self.Buffer = self.Buffer[idx+1:]
+ print "command >"+line+str(len(line))