diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-01-10 15:49:50 +0800 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-01-10 15:49:50 +0800 |
commit | 614e3a712d459529b1ec10c59c2d5a66d441902a (patch) | |
tree | 06a67c69025bb56a2689af87e4d13b1e6d2d3278 | |
parent | e306a642cdc6ae95ad4bda464d95a28758653bda (diff) |
Use basestring instead of str
-rwxr-xr-x | slippy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -388,7 +388,7 @@ class Slide: items = items(renderer) if items == None: items = ("",) - if isinstance (items, str): + if isinstance (items, basestring): items = (items,) return items |