mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-31 07:12:23 -07:00
FE+BE: allow ❌None as a value in DeviceEdit for fields with other default NEWDEV values
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -590,6 +590,10 @@ class DeviceInstance:
|
||||
cur.execute(sql, values)
|
||||
conn.commit()
|
||||
conn.close()
|
||||
|
||||
mylog("debug", f"[DeviceInstance] setDeviceData SQL: {sql.strip()}")
|
||||
mylog("debug", f"[DeviceInstance] setDeviceData VALUES:{values}")
|
||||
|
||||
return {"success": True}
|
||||
except Exception as e:
|
||||
if conn:
|
||||
|
||||
Reference in New Issue
Block a user