src/eric7/Sessions/SessionFile.py

branch
eric7
changeset 10459
5c5ed40d533d
parent 10439
21c28b0f9e41
child 10596
ea35c92a3c7c
child 10621
f5631f40c4d9
--- a/src/eric7/Sessions/SessionFile.py	Sun Dec 31 18:01:05 2023 +0100
+++ b/src/eric7/Sessions/SessionFile.py	Sun Dec 31 20:27:52 2023 +0100
@@ -222,7 +222,7 @@
         sessionDict["ProjectBrowserStates"] = browsersList
 
         try:
-            jsonString = json.dumps(sessionDict, indent=2)
+            jsonString = json.dumps(sessionDict, indent=2) + "\n"
             with open(filename, "w") as f:
                 f.write(jsonString)
         except (OSError, TypeError) as err:

eric ide

mercurial