--- a/runtime/PLCObject.py Thu Mar 28 00:03:44 2013 +0100
+++ b/runtime/PLCObject.py Thu Mar 28 00:08:55 2013 +0100
@@ -343,12 +343,12 @@
return self.PLCStatus, map(self.GetLogCount,xrange(LogLevelsCount))
def NewPLC(self, md5sum, data, extrafiles):
- self.LogMessage("NewPLC (%s)"%md5sum)
if self.PLCStatus in ["Stopped", "Empty", "Broken"]:
NewFileName = md5sum + lib_ext
extra_files_log = os.path.join(self.workingdir,"extra_files.txt")
self._FreePLC()
+ self.LogMessage("NewPLC (%s)"%md5sum)
self.PLCStatus = "Empty"
try: