2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

pyon/store_file: add newline

This commit is contained in:
Sebastien Bourdeauducq 2015-01-21 13:52:35 +08:00
parent f94aa49276
commit 0983862c03

View File

@ -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):