From 614e3a712d459529b1ec10c59c2d5a66d441902a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 10 Jan 2014 15:49:50 +0800 Subject: Use basestring instead of str --- slippy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3