This commit is contained in:
2023-06-26 16:50:07 +08:00
parent e749605916
commit 396cc892d5

View File

@ -39,10 +39,11 @@ def conpurchase():
else: else:
result = opv.opFeature(uuid, num_id, videoPath) result = opv.opFeature(uuid, num_id, videoPath)
os.remove(videoPath) os.remove(videoPath)
#os.remove(os.sep.join([cfg.hFile, uuid+'.h5']))
removef(uuid) removef(uuid)
except Exception as e: except Exception as e:
print(e) print(e)
os.remove(videoPath)
removef(uuid)
return result return result
if __name__ == '__main__': if __name__ == '__main__':
app.run('0.0.0.0', 8898) app.run('0.0.0.0', 8898)