flash: close tempfile before deleting (#256)

This commit is contained in:
Sebastien Bourdeauducq 2016-05-21 00:09:31 +08:00
parent 5f7f4ed398
commit 5f11dbf319
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ def main():
])
finally:
if conv:
os.close(bin_handle)
os.unlink(bin)