mirror of
https://github.com/dnet/pySSTV.git
synced 2025-12-06 07:12:00 +01:00
codegen: avoid masking exceptions if exe doesn't exist yet
This commit is contained in:
parent
43d1c53514
commit
ec6ff85d06
|
|
@ -137,7 +137,10 @@ def test():
|
|||
print ' - speedup:', python_elapsed.total_seconds() / native_elapsed.total_seconds()
|
||||
print 'OK'
|
||||
finally:
|
||||
remove(exe)
|
||||
try:
|
||||
remove(exe)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in a new issue