From 4c031d4fc68744fe6140fe9bd197a94c0bdb1158 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 06 Feb 2010 14:09:14 +0000 Subject: tuple-enabled --- (limited to 'taexporthtml.py') diff --git a/taexporthtml.py b/taexporthtml.py index dc18174..f0f49ae 100644 --- a/taexporthtml.py +++ b/taexporthtml.py @@ -78,6 +78,8 @@ charset=UTF-8\">\n", ""), show = 0 tp1, tp2, tp3, tp8, tp6, tp7 = 0,0,0,0,0,0 for d in data: + if type(d) == type((1,2)): + (d,b) = d if type(d) is float or type(d) is int: d = str(d) # convert floats and ints to strings # transalate some Turtle Art blocks into HTML -- cgit v0.9.1