From 11510d84283b244855f3d72997f174b8a104839e Mon Sep 17 00:00:00 2001 From: piernov Date: Sat, 28 Feb 2015 22:48:06 +0100 Subject: unicode → str MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jm2l/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jm2l/upload.py b/jm2l/upload.py index 551eb27..657e4ef 100644 --- a/jm2l/upload.py +++ b/jm2l/upload.py @@ -332,7 +332,7 @@ class MediaUpload(MediaPath): return self.delete() results = [] for name, fieldStorage in self.request.POST.items(): - if isinstance(fieldStorage,unicode): + if isinstance(fieldStorage,str): # FIXME continue result = {} result['name'] = os.path.basename(fieldStorage.filename) -- cgit v1.2.3-70-g09d2