Closed rplzzz closed 3 years ago
In runQuery I've moved (almost) everything after the temp file is opened into a try block and moved the call to os.remove into the block's finally clause. That way, in the event of some kind of abnormal exit the temp file still gets deleted.
runQuery
os.remove
finally
In
runQuery
I've moved (almost) everything after the temp file is opened into a try block and moved the call toos.remove
into the block'sfinally
clause. That way, in the event of some kind of abnormal exit the temp file still gets deleted.