From 0983862c033f802b3dbd67f70f83328295c0cc60 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 21 Jan 2015 13:52:35 +0800 Subject: [PATCH] pyon/store_file: add newline --- artiq/protocols/pyon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/protocols/pyon.py b/artiq/protocols/pyon.py index 23d701bc7..161a30615 100644 --- a/artiq/protocols/pyon.py +++ b/artiq/protocols/pyon.py @@ -159,6 +159,7 @@ def store_file(filename, x): contents = encode(x, True) with open(filename, "w") as f: f.write(contents) + f.write("\n") def load_file(filename):