Fix firmware update broken on last update , missing variable

This commit is contained in:
sepehr 2025-01-14 12:27:35 +03:00
parent 9fa3145db0
commit 89897677f6

View file

@ -318,6 +318,7 @@ def update_device(dev,q):
pass
#get correct firmware from db for updating
firm=False
firm2=False
if ISPRO:
firm,firm2=utilpro.safe_check(dev,_installed_version,ver_to_install)
elif arch and arch!='':