From 3506ecab2c8a490331e54b1d62727673ff8434dd Mon Sep 17 00:00:00 2001 From: Triatmoko Date: Mon, 14 Nov 2011 16:35:56 +0100 Subject: add and clean unused comment --- Code/Server-Code/startSoftware.py | 2 +- Code/Server-Code/truthtableClass.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Code/Server-Code') diff --git a/Code/Server-Code/startSoftware.py b/Code/Server-Code/startSoftware.py index 23ba57e..e433baf 100755 --- a/Code/Server-Code/startSoftware.py +++ b/Code/Server-Code/startSoftware.py @@ -2,9 +2,9 @@ import ServerClass import subprocess while 1: + # try connect to website server = ServerClass.ServerHandler(34600) tried = server.openSocket() - #print tried test = server.receiveData(2) if test == 'START APP': print 'start' diff --git a/Code/Server-Code/truthtableClass.py b/Code/Server-Code/truthtableClass.py index bf57ca6..0d7a633 100755 --- a/Code/Server-Code/truthtableClass.py +++ b/Code/Server-Code/truthtableClass.py @@ -86,7 +86,7 @@ class trueTable: self.nanoBts.append([btsName,True]) - if key == call:# + if key == call: for z in externalRZList:# find the result for outgoing call from GSM RZ to external RZ network if dest == z: self.outGoingRZ = True #set status as working for outgoing RZ @@ -96,11 +96,11 @@ class trueTable: self.incomingRZ = True # find the result for imcoming call to GSM RZ from external RZ network elif result == '486': found = False - if key == call:# and dest == 'landline': + if key == call: for z in externalRZList: if dest == z and self.outGoingRZ != True: self.outGoingRZ = False - if key == dest:# and call == 'landline': + if key == dest: for z in externalRZList: if call == z and self.incomingRZ != True: self.incomingRZ = False -- cgit v1.2.3-55-g7522