aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)