summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/30-07-2011/DbClass.py
diff options
context:
space:
mode:
Diffstat (limited to 'For Weekly Test/30-07-2011/DbClass.py')
-rw-r--r--For Weekly Test/30-07-2011/DbClass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/For Weekly Test/30-07-2011/DbClass.py b/For Weekly Test/30-07-2011/DbClass.py
index f078f68..21fc2b0 100644
--- a/For Weekly Test/30-07-2011/DbClass.py
+++ b/For Weekly Test/30-07-2011/DbClass.py
@@ -105,7 +105,7 @@ class DBMySQLConnection:
def deviceAddress(self,deviceName):
if self.connectionCreated == 1:
try:
- successful = self.cur.execute("SELECT `deviceIP`,`number` FROM DeviceAddressTable where `deviceName`=%s", deviceName)
+ successful = self.cur.execute("SELECT `deviceIP`,`number`, `username`, `password`, `server` FROM DeviceAddressTable where `deviceName`=%s", deviceName)
output = self.cur.fetchall() #get the mysql response
#parse the output from the mysql by creating a list
#with lists where each attribue(column) gets independent