Browse files

server example: bugfix

The duplicate assignment of self.handle led to the clock never being
stopped when no observatons are present any more.
  • Loading branch information...
chrysn committed Mar 12, 2018
1 parent 87b612d commit f37d4ab00421f9847f82ba816b91d65d99e2ac23
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -83,7 +83,7 @@ def reschedule(self):
def update_observation_count(self, count):
if count and self.handle is None:
print("Starting the clock")
self.handle = self.reschedule()
if count == 0 and self.handle:
print("Stopping the clock")

0 comments on commit f37d4ab

Please sign in to comment.