summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/DbClass.py
diff options
context:
space:
mode:
authorTriatmoko2011-10-29 02:48:32 +0200
committerTriatmoko2011-10-29 02:48:32 +0200
commitfce23c61927ad3c3f3d004c5433ec63e2d85ad76 (patch)
treeece926b92e7825ff29a59d72a462eefa635b9874 /For Weekly Test/tricode/DbClass.py
parentadd new test result, 801 and 802 for device not work (diff)
downloadgsm-selftest-fce23c61927ad3c3f3d004c5433ec63e2d85ad76.tar.gz
gsm-selftest-fce23c61927ad3c3f3d004c5433ec63e2d85ad76.tar.xz
gsm-selftest-fce23c61927ad3c3f3d004c5433ec63e2d85ad76.zip
edit respond code for result test
Diffstat (limited to 'For Weekly Test/tricode/DbClass.py')
-rwxr-xr-xFor Weekly Test/tricode/DbClass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/For Weekly Test/tricode/DbClass.py b/For Weekly Test/tricode/DbClass.py
index 00a6f1b..027bc95 100755
--- a/For Weekly Test/tricode/DbClass.py
+++ b/For Weekly Test/tricode/DbClass.py
@@ -251,7 +251,7 @@ class DBMySQLConnection:
def errorCode(self,code):
if self.connectionCreated == 1:
try:
- successful = self.cur.execute("SELECT description FROM ErrorCodeTable where `errorcode`=%s", code)
+ successful = self.cur.execute("SELECT description FROM ErrorCodeTable where `respondCode`=%s", code)
data = self.cur.fetchone()
self.errCode = data[0]
return self.errCode