eric6/Plugins/CheckerPlugins/SyntaxChecker/tomlCheckSyntax.py

changeset 8217
385f60c94548
parent 7923
91e843545d9a
--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/tomlCheckSyntax.py	Sat Apr 10 17:54:58 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/tomlCheckSyntax.py	Sat Apr 10 18:31:17 2021 +0200
@@ -43,7 +43,7 @@
     codestring = codestring.replace("\r\n", "\n").replace("\r", "\n")
 
     if codestring and codestring[-1] != '\n':
-        codestring = codestring + '\n'
+        codestring += '\n'
     
     return codestring
 

eric ide

mercurial