summaryrefslogtreecommitdiffstats
path: root/Code/Server-Code/DbClass.py
diff options
context:
space:
mode:
authorTriatmoko2011-11-15 02:32:05 +0100
committerTriatmoko2011-11-15 02:32:05 +0100
commit7d448ebb39dfadc82cccbc115a69462209b3ecc0 (patch)
treeee7c4b95fd9ef913408d235ec6ec13ec24c440f6 /Code/Server-Code/DbClass.py
parent remove log from dia software. dia = software to draw flowchat and class diagram (diff)
downloadgsm-selftest-7d448ebb39dfadc82cccbc115a69462209b3ecc0.tar.gz
gsm-selftest-7d448ebb39dfadc82cccbc115a69462209b3ecc0.tar.xz
gsm-selftest-7d448ebb39dfadc82cccbc115a69462209b3ecc0.zip
delete dummy comment
Diffstat (limited to 'Code/Server-Code/DbClass.py')
-rwxr-xr-xCode/Server-Code/DbClass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/Server-Code/DbClass.py b/Code/Server-Code/DbClass.py
index fb6b253..a53987f 100755
--- a/Code/Server-Code/DbClass.py
+++ b/Code/Server-Code/DbClass.py
@@ -186,7 +186,7 @@ class DBMySQLConnection:
if self.connectionCreated == 1:
try:
successful = self.cur.execute("INSERT INTO PingResultTable(taskNo, sipServer, sipGate, unisip, gsmBox1, gsmBox2) VALUES ('%i', '%i','%i', '%i','%i','%i')"%( int(taskNo),int(sipServer), int(sipGate), int(unisip), int(gsmBox1), int(gsmBox2)))
- #successful = self.cur.execute("UPDATE PingResultTable SET sipServer=%i, sipGate=%i, unisip=%i, gsmBox1=%i, gsmBox2=%i WHERE taskNo=%i"%(int(sipServer), int(sipGate), int(unisip), int(gsmBox1), int(gsmBox2), int(taskNo)))
+
output = self.cur.fetchone()
if debugMode == 1: