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__":