Changes to web gui and fixes

This commit is contained in:
kprkpr committed 2020-07-03 18:37:34 +02:00
1 parent 609d821501
commit 3deb367e89
9 files changed
+94 -25

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ def getComputers():
ComputerID = value
if ComputerID is not None: # One computer
data = sql.select("SELECT * FROM COMPUTERS WHERE ID_C = '"+ComputerID+"') ORDER BY Name ASC LIMIT 1")
data = sql.select("SELECT * FROM COMPUTERS WHERE ID_C = '"+ComputerID+"' ORDER BY Name ASC LIMIT 1")
return str(data)
else: # All computers
data = sql.select("SELECT * FROM COMPUTERS ORDER BY Name ASC")