mirror of https://github.com/m-labs/artiq.git
flash: close tempfile before deleting (#256)
This commit is contained in:
parent
5f7f4ed398
commit
5f11dbf319
|
@ -129,6 +129,7 @@ def main():
|
||||||
])
|
])
|
||||||
finally:
|
finally:
|
||||||
if conv:
|
if conv:
|
||||||
|
os.close(bin_handle)
|
||||||
os.unlink(bin)
|
os.unlink(bin)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue