From 02d6433b3e0084bc02e4b2a6fcefef64eac5cca0 Mon Sep 17 00:00:00 2001 From: Raul Gutierrez Segales Date: Mon, 31 Jan 2011 17:37:32 +0000 Subject: Simplified the logic of sending events for the Sugar and non-Sugar case --- (limited to 'TurtleArt/tacanvas.py') 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) -- cgit v0.9.1