summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-01-10 15:49:50 +0800
committerBehdad Esfahbod <behdad@behdad.org>2014-01-10 15:49:50 +0800
commit614e3a712d459529b1ec10c59c2d5a66d441902a (patch)
tree06a67c69025bb56a2689af87e4d13b1e6d2d3278
parente306a642cdc6ae95ad4bda464d95a28758653bda (diff)
Use basestring instead of str
-rwxr-xr-xslippy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slippy.py b/slippy.py
index 939fc2c..b6a6015 100755
--- a/slippy.py
+++ b/slippy.py
@@ -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