eric7/DebugClients/Python/coverage/jsonreport.py

branch
eric7
changeset 9099
0e511e0e94a3
parent 8991
2fc945191992
--- a/eric7/DebugClients/Python/coverage/jsonreport.py	Tue May 24 10:22:46 2022 +0200
+++ b/eric7/DebugClients/Python/coverage/jsonreport.py	Tue May 24 11:00:52 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