From d35a0a35bad1f53ceeda66bf50e12434c09bc2c5 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 2 Sep 2021 19:23:03 +0000 Subject: [PATCH] swann: ee-scrape-data must output data with a newline --- ops/nixos/swann/ee-scrape-data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/nixos/swann/ee-scrape-data.py b/ops/nixos/swann/ee-scrape-data.py index eff537f8ae..ecc2ece60e 100644 --- a/ops/nixos/swann/ee-scrape-data.py +++ b/ops/nixos/swann/ee-scrape-data.py @@ -90,7 +90,7 @@ def main(args): print(data) else: with open(args[1], "w") as f: - f.write(data) + print(data, file=f) if __name__ == "__main__":