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:
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
Block a user