diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2011-02-20 23:00:18 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2011-02-20 23:00:18 -0500 |
commit | ee5dc03fbf6b75328295f5a6115f5d6a5c33455e (patch) | |
tree | db39963c35214ad0d7e33474e19e0ae221831c0a /operationscore | |
parent | a742e43c387d089b344c0e293cf1b4292ee57c58 (diff) | |
parent | 6cb8952976d771d5f3be20a1eb1cd9b957651a54 (diff) |
Merge branch 'conner5' of git://github.com/dxiao/SmootLight into conner5
Diffstat (limited to 'operationscore')
-rw-r--r-- | operationscore/Input.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/operationscore/Input.py b/operationscore/Input.py index 7720847..8800556 100644 --- a/operationscore/Input.py +++ b/operationscore/Input.py @@ -14,6 +14,7 @@ class Input(ThreadedSmootCoreObject): if not 'RefreshInterval' in self.argDict: self.argDict['RefreshInterval'] = 500 self.parentScope = self.argDict['parentScope'] + self.done = False self.inputInit() def respond(self, eventDict): @@ -44,6 +45,8 @@ class Input(ThreadedSmootCoreObject): self.acquireLock() self.sensingLoop() self.releaseLock() + if self.done: + break def sensingLoop(self): pass |