--- a/plugins/canfestival/canfestival.py Fri Oct 16 10:50:16 2009 +0200
+++ b/plugins/canfestival/canfestival.py Mon Oct 19 16:03:46 2009 +0200
@@ -200,12 +200,12 @@
buildpath = self._getBuildPath()
# Eventually create build dir
if not os.path.exists(buildpath):
- self.logger.write_error(_("Error: No PLC built\n"))
+ self.GetPlugRoot().logger.write_error(_("Error: No PLC built\n"))
return
masterpath = os.path.join(buildpath, "MasterGenerated.od")
if not os.path.exists(masterpath):
- self.logger.write_error(_("Error: No Master generated\n"))
+ self.GetPlugRoot().logger.write_error(_("Error: No Master generated\n"))
return
new_dialog = objdictedit(None, filesOpen=[masterpath])