summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Controller/Controller-SecondType.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/Controller/Controller-SecondType.py b/Controller/Controller-SecondType.py
index b7d9881..be7361a 100644
--- a/Controller/Controller-SecondType.py
+++ b/Controller/Controller-SecondType.py
@@ -13,15 +13,6 @@ from time import sleep
from datetime import datetime
-user = 'root'
-passw = 'randompasswordSQL' #default password we agree with this password before!
-host = 'localhost'
-dbname = 'gsmselftesting'
-
-stop = False
-status = None
-dbSStatus = None
-
sipNum = "4661929"
landlnNum = "076145875681"
@@ -248,11 +239,9 @@ def FuncTest(orig, origAdd, dest, destAdd, destNo):
# Main software
-
-
# Check DB connection
-x = classDb.DBMySQLConnection(user, passw, host, dbname)
-print "connected to the DB ", x.connectDB()
+x = classDb.DBMySQLConnection('root', 'randompasswordSQL', 'localhost', 'gsmselftesting')
+print "Connecting to DB ", x.connectDB()
print ""
dbStatus = x.connectDB()