Hoofdletters update
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user