summaryrefslogtreecommitdiffstats
path: root/Code/Server-Code/truthtableClass.py
diff options
context:
space:
mode:
Diffstat (limited to 'Code/Server-Code/truthtableClass.py')
-rw-r--r--Code/Server-Code/truthtableClass.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Code/Server-Code/truthtableClass.py b/Code/Server-Code/truthtableClass.py
index 63151bc..df6738b 100644
--- a/Code/Server-Code/truthtableClass.py
+++ b/Code/Server-Code/truthtableClass.py
@@ -8,7 +8,7 @@ class trueTable:
self.asteriskServer = None
self.incomingRZ = None
self.openBSC = None
- self.nanoBTS = None
+ self.nanoBTS = ''
self.deviceStatus = list()
self.testMount = len(resultsList)
self.OK = 0
@@ -22,7 +22,7 @@ class trueTable:
self.dbStatus = self.db.connectDB()
def lookingBTSname(self, btsname):
- if len(self.nanoBts) == 0:
+ if self.nanoBts == '':
self.found = False
else:
found = False
@@ -183,13 +183,13 @@ class trueTable:
self.nanoBts.append([btsName,False])
elif (str(result) == '801' or str(result) == '999') and key == call:
- self.lookingBTSname(key)
- if self.found != True:
+ #self.lookingBTSname(key)
+ if self.lookingBTSname(key) != True:
self.nanoBts.append([key,result])
elif (str(result) == '802' or str(result) == '998') and key == dest:
- self.lookingBTSname(key)
- if self.found != True:
+ #self.lookingBTSname(key)
+ if self.lookingBTSname(key) != True:
self.nanoBts.append([key,result])
j = j+1