From f1124709e702442f4cb2778e1159ba46ffca9bbf Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 18 Feb 2010 02:40:25 +0000 Subject: cleaned up find-boston example --- (limited to 'talogo.py') diff --git a/talogo.py b/talogo.py index 4678c01..d54d8db 100644 --- a/talogo.py +++ b/talogo.py @@ -1080,7 +1080,7 @@ class LogoCode: def show_description(self, media, x, y, w, h): if media == "" or media[6:] == "": return - elif media[6:] is not "None": + elif media[6:] != "None": text = None if self.tw.running_sugar: try: @@ -1097,7 +1097,6 @@ class LogoCode: except: print "no text in %s?" % (media[6:]) if text is not None: - print "text: %s" % (text) self.tw.canvas.draw_text(text, int(x), int(y), self.body_height, int(w)) -- cgit v0.9.1