diff --git a/primesieve/primesieve.py b/primesieve/primesieve.py index 4b88a77..1c8b4e0 100644 --- a/primesieve/primesieve.py +++ b/primesieve/primesieve.py @@ -36,7 +36,7 @@ command = command.rstrip() scores = [] start_time = current_time_ms() for i in range(3): - output = subprocess.check_output([command, "1e12", "--quiet", "--time"], text=True) + output = subprocess.check_output([command, "1e12", "--quiet", "--time"], text=True) SCORE_PATTERN = r'Seconds:\s(\d+\.\d+)' if "Seconds" in output: duration = re.match(SCORE_PATTERN, output).group(1) @@ -58,4 +58,4 @@ report = { } with open(os.path.join(log_dir, "report.json"), "w", encoding="utf-8") as report_file: - report_file.write(json.dumps(report)) \ No newline at end of file + report_file.write(json.dumps(report))