eric6/Sessions/SessionFile.py

branch
jsonfiles
changeset 8031
ce5858a237d2
parent 8025
aaad60a23960
child 8064
756747ba088c
equal deleted inserted replaced
8028:a4f1b68c0737 8031:ce5858a237d2
64 ) 64 )
65 sessionDict["header"]["warning"] = ( 65 sessionDict["header"]["warning"] = (
66 "This file was generated automatically, do not edit." 66 "This file was generated automatically, do not edit."
67 ) 67 )
68 68
69 # TODO: replace 'XMLTimestamp' by 'Timestamp' 69 if Preferences.getProject("TimestampFile") or self.__isGlobal:
70 if Preferences.getProject("XMLTimestamp") or self.__isGlobal:
71 sessionDict["header"]["saved"] = ( 70 sessionDict["header"]["saved"] = (
72 time.strftime('%Y-%m-%d, %H:%M:%S') 71 time.strftime('%Y-%m-%d, %H:%M:%S')
73 ) 72 )
74 73
75 # step 1: open multi project and project for global session 74 # step 1: open multi project and project for global session

eric ide

mercurial