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

@@ -5,7 +5,7 @@ This is done this way to make the code more visable and more clear.
#Importing different librarys.
import mysql.connector
import json
#importing different classes.
#Importing different classes.
from classes_data import Node
from classes_data import dbLogin
```
@@ -32,10 +32,10 @@ class EnqueteNode(Node):
EnqueteNode.questionID = (processedData['QuestionID'])
EnqueteNode.response = (processedData['Response'])
#an array with the data to push.
#An array with the data to push.
pushingDataArray = [(EnqueteNode.questionID, nodeID, EnqueteNode.response)]
#push the data according to the query to the database.
#Push the data according to the query to the database.
for i in pushingDataArray:
print(EnqueteNode.__query, i)
cursor.execute(EnqueteNode.__query, i)