Fix streams

This commit is contained in:
9and3r
2015-07-11 00:21:06 +02:00
parent 643f1c4e8c
commit ca7f01091a
4 changed files with 70 additions and 45 deletions

View File

@@ -27,6 +27,12 @@ class ScreenObjectsManager:
def set_touch_object(self, key, add_object):
self.touch_objects[key] = add_object
def delete_touch_object(self, key):
try:
del self.touch_objects[key]
except KeyError:
pass
def get_touch_object(self, key):
return self.touch_objects[key]