aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2015-02-28 22:48:06 +0100
committerpiernov <piernov@piernov.org>2015-02-28 22:48:40 +0100
commit11510d84283b244855f3d72997f174b8a104839e (patch)
treecb0dde7d83340fb435ef1249acc4cd2e8bae5aeb
parente060f719775dcd3c599e0fa4adfbf498a52d80b3 (diff)
downloadjm2l-11510d84283b244855f3d72997f174b8a104839e.tar.gz
jm2l-11510d84283b244855f3d72997f174b8a104839e.tar.bz2
jm2l-11510d84283b244855f3d72997f174b8a104839e.tar.xz
jm2l-11510d84283b244855f3d72997f174b8a104839e.zip
unicode → str
-rw-r--r--jm2l/upload.py2
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)