diff options
author | Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> | 2011-01-31 17:37:32 (GMT) |
---|---|---|
committer | Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> | 2011-01-31 17:39:04 (GMT) |
commit | 02d6433b3e0084bc02e4b2a6fcefef64eac5cca0 (patch) | |
tree | 3928cffdeef440cbc3834fc4414f8453539b1cd0 /TurtleArt/tacanvas.py | |
parent | cb6bb97d417460c72d9b000bf2bbf05e03cf1296 (diff) |
Simplified the logic of sending events for the Sugar and non-Sugar case
Diffstat (limited to 'TurtleArt/tacanvas.py')
-rw-r--r-- | TurtleArt/tacanvas.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/TurtleArt/tacanvas.py b/TurtleArt/tacanvas.py index 45c389c..d4395a2 100644 --- a/TurtleArt/tacanvas.py +++ b/TurtleArt/tacanvas.py @@ -657,9 +657,5 @@ class TurtleGraphics: return if self.tw.sharing(): - if self.tw.activity: - print "Sending: %s" % entry - self.tw.activity.send_event(entry) - elif self.tw.send_event: - print "Sending: %s" % entry - self.tw.send_event(entry) + print "Sending: %s" % entry + self.tw.send_event(entry) |