diff options
author | piernov <piernov@piernov.org> | 2015-02-28 22:48:06 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2015-02-28 22:48:40 +0100 |
commit | 11510d84283b244855f3d72997f174b8a104839e (patch) | |
tree | cb0dde7d83340fb435ef1249acc4cd2e8bae5aeb | |
parent | e060f719775dcd3c599e0fa4adfbf498a52d80b3 (diff) | |
download | jm2l-11510d84283b244855f3d72997f174b8a104839e.tar.gz jm2l-11510d84283b244855f3d72997f174b8a104839e.tar.bz2 jm2l-11510d84283b244855f3d72997f174b8a104839e.tar.xz jm2l-11510d84283b244855f3d72997f174b8a104839e.zip |
unicode → str
-rw-r--r-- | jm2l/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |