Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tacanvas.py
diff options
context:
space:
mode:
authorRaul 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)
commit02d6433b3e0084bc02e4b2a6fcefef64eac5cca0 (patch)
tree3928cffdeef440cbc3834fc4414f8453539b1cd0 /TurtleArt/tacanvas.py
parentcb6bb97d417460c72d9b000bf2bbf05e03cf1296 (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.py8
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)