eric7/DebugClients/Python/coverage/jsonreport.py

branch
eric7-maintenance
changeset 9111
4ac66b6c33a4
parent 8991
2fc945191992
--- a/eric7/DebugClients/Python/coverage/jsonreport.py	Mon May 02 15:53:05 2022 +0200
+++ b/eric7/DebugClients/Python/coverage/jsonreport.py	Wed Jun 01 13:48:49 2022 +0200
@@ -70,7 +70,7 @@
         json.dump(
             self.report_data,
             outfile,
-            indent=4 if self.config.json_pretty_print else None
+            indent=(4 if self.config.json_pretty_print else None),
         )
 
         return self.total.n_statements and self.total.pc_covered

eric ide

mercurial