diff options
Diffstat (limited to 'taturtle.py')
-rw-r--r-- | taturtle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taturtle.py b/taturtle.py index 5e72405..a333022 100644 --- a/taturtle.py +++ b/taturtle.py @@ -278,7 +278,7 @@ def draw_text(t, label, x, y, size, w): elif type(label) == float or type(label) == int: pl = t.tw.window.create_pango_layout(str(label)) else: - print type(label) + print "draw text: Type Error: %s" % (type(label)) pl = t.tw.window.create_pango_layout(str(label)) pl.set_font_description(fd) pl.set_width(int(w)*pango.SCALE) |