summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhitya Kamakshidasan2016-09-23 19:49:47 +0530
committerGitHub2016-09-23 19:49:47 +0530
commitf785feb9507c6c3d4c3ee9e601957b77280b36ea (patch)
tree98fb820b9fe441ac094de42a370da0bee7f7bb1d
parentaf66ee1449f7419bc27b8466609de054bf7e2e53 (diff)
downloadxcos-on-web-f785feb9507c6c3d4c3ee9e601957b77280b36ea.tar.gz
xcos-on-web-f785feb9507c6c3d4c3ee9e601957b77280b36ea.tar.bz2
xcos-on-web-f785feb9507c6c3d4c3ee9e601957b77280b36ea.zip
Update SendLog.py
-rwxr-xr-xtesting/SendLog/SendLog.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/SendLog/SendLog.py b/testing/SendLog/SendLog.py
index 5a0b20e..10c66ef 100755
--- a/testing/SendLog/SendLog.py
+++ b/testing/SendLog/SendLog.py
@@ -23,11 +23,9 @@ figure_list = []
class line_and_state:
# Class to store the line and its state
- line = None
- state = NOLINE
def __init__(self, line, state):
- self.line = line
- self.state = state
+ self.line = None
+ self.state = NOLINE
def set(self, line_state):
self.line = line_state[0]
self.state = line_state[1]