mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-22 17:16:18 -04: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:
1 parent
4a9dc3a86f
commit
8ea63cdb56
4 files changed
+20
-11
No files matched your search
@@ -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