Hoofdletters update

This commit is contained in:
Bram Barbieri
2024-04-02 16:07:53 +02:00
parent badea73c4d
commit c61cdaad1f
4 changed files with 18 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ class SensorNode(Node):
#A private query only to be used in this class.
__query = "INSERT INTO `Measurement` (NodeID, Type, Value) VALUES (%s, %s, %s)"
#all variables to be used.
#All variables to be used.
def __init__(self, macAdress, temp, humi, eCO2, TVOC):
super().__init__(macAdress)
self.temperature = temp
@@ -22,7 +22,7 @@ class SensorNode(Node):
self.eCO2 = eCO2
self.TVOC = TVOC
#a function to connect to the database, grab the info which is given, and push this to the database.
#A function to connect to the database, grab the info which is given, and push this to the database.
async def processSensorNodeData(data, nodeID):
try:
mydb = dbLogin()