From c55c2c0017ff06519b394473d61ac40eede8ae63 Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 25 Dec 2023 22:14:39 +0900 Subject: [PATCH] Fix the dang warning stuff...finally? --- tools/warnings_count/compare_warnings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/warnings_count/compare_warnings.py b/tools/warnings_count/compare_warnings.py index 62d32aa491..0300bf2ea6 100755 --- a/tools/warnings_count/compare_warnings.py +++ b/tools/warnings_count/compare_warnings.py @@ -19,6 +19,7 @@ def main(): # Download the latest warnings.txt response = requests.get("https://papermar.io/reports/warnings.txt") current_warnings = response.content.decode("utf-8").strip().split("\n") + current_warnings = [line for line in current_warnings if line] # Write the current warnings to a file with open(script_dir / "warnings.txt", "w") as f: