--- a/plugger.py Thu Oct 25 16:46:56 2007 +0200
+++ b/plugger.py Thu Oct 25 16:59:17 2007 +0200
@@ -896,7 +896,7 @@
return True
- # Link object files into something that can be executed on target
+ # Link object files into something that can be executed on target
def _showIECcode(self, logger):
plc_file = self._getIECcodepath()
@@ -914,6 +914,12 @@
def _editIECrawcode(self, logger):
new_dialog = wx.Frame(None)
+
+ buildpath = self._getBuildPath()
+ # Eventually create build dir
+ if not os.path.exists(buildpath):
+ os.mkdir(buildpath)
+
controler = MiniTextControler(self._getIECrawcodepath())
ST_viewer = TextViewer(new_dialog, None, controler)
#ST_viewer.Enable(False)