fix firmware folder and redownload if fimware file has problem

This commit is contained in:
sepehr 2024-08-11 13:17:56 +03:30
parent f7f70828f6
commit 75138ab41d
2 changed files with 3 additions and 6 deletions

View file

@ -135,7 +135,6 @@ def get_firmware(firmid):
# return buildResponse({'result':'failed', 'err':"Device not found"}, 200)
if firm:
log.error(dev_ip)
data={
"devip":dev_ip,
# "devid":dev.id,