Show More
@@ -209,6 +209,6 b' def stylemap(style, paths=None):' | |||
|
209 | 209 | |
|
210 | 210 | def stringify(thing): |
|
211 | 211 | '''turn nested template iterator into string.''' |
|
212 | if hasattr(thing, '__iter__'): | |
|
212 | if hasattr(thing, '__iter__') and not isinstance(thing, str): | |
|
213 | 213 | return "".join([stringify(t) for t in thing if t is not None]) |
|
214 | 214 | return str(thing) |
General Comments 0
You need to be logged in to leave comments.
Login now