diff -r 471c5a263d53 -r 36448ca469c2 src/eric7/Sessions/SessionFile.py --- a/src/eric7/Sessions/SessionFile.py Thu Jul 28 19:44:54 2022 +0200 +++ b/src/eric7/Sessions/SessionFile.py Fri Jul 29 16:29:31 2022 +0200 @@ -57,8 +57,7 @@ # prepare the session data dictionary # step 0: header - sessionDict = {} - sessionDict["header"] = {} + sessionDict = {"header": {}} if not self.__isGlobal: sessionDict["header"][ "comment"