mirror of https://github.com/m-labs/artiq.git
pyon/store_file: add newline
This commit is contained in:
parent
f94aa49276
commit
0983862c03
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue