forked from M-Labs/artiq
1
0
Fork 0

pyon/store_file: add newline

This commit is contained in:
Sebastien Bourdeauducq 2015-01-21 13:52:35 +08:00
parent f94aa49276
commit 0983862c03
1 changed files with 1 additions and 0 deletions

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