diff --git a/backend.py b/backend.py index f57cd7614b1c3b5b67a7751abae9b62fbb213b09..98c8c0cec3f3b40308fd971ff4c63c08f7ae0dda 100644 --- a/backend.py +++ b/backend.py @@ -50,7 +50,9 @@ class Backend(): ###### backend object attributes # self.devices = OrderedDict() ### will contain the list of nodes in the network # self.sensors = OrderedDict() ### will contain the list of sensors (only) in the network - self.timestamps = {} ### will contain the time of the last values' update for each sensor + self.node_added = False + self.node_removed = False + self.timestamps = {} ### will contain the time of the last values' update for each sensor self.queryStages = { ### the diffrent stages that a node object gets through before being ready "None" : 1, # Query process hasn't started for this node "ProtocolInfo" : 2, # Retrieve protocol information @@ -297,7 +299,7 @@ class Backend(): if started: - print "Already started !" + print "Already started " return started = True self.network.start()