PLCControler.py
changeset 702 ece862b07321
parent 693 4ecfbcc09bef
child 704 aca0c83ed82e
--- a/PLCControler.py	Sun Jun 03 23:47:56 2012 +0200
+++ b/PLCControler.py	Mon Jun 04 01:27:17 2012 +0200
@@ -2899,8 +2899,7 @@
         if not filepath and self.FilePath == "":
             return False
         else:
-            contentheader = self.Project.getcontentHeader()
-            contentheader["modificationDateTime"] = datetime.datetime(*localtime()[:6])
+            contentheader = {"modificationDateTime": datetime.datetime(*localtime()[:6])}
             self.Project.setcontentHeader(contentheader)
             
             text = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"