Fixes for small bugs
[mediagoblin.git] / mediagoblin / media_types / video / __init__.py
index ea7bc0217675d1314a08f5f41d9bbfb41fdfb189..0c822f69820499fd3acd7a1e678c9056f536b942 100644 (file)
@@ -40,7 +40,7 @@ class VideoMediaManager(MediaManagerBase):
         video_res = video_config['available_resolutions']
         video_res.remove(video_config['default_resolution'])
         video_res.insert(0, video_config['default_resolution'])
-        video_res = map((lambda x: unicode('webm_' + str(x), 'utf-8')), video_res)
+        video_res = ['webm_{}'.format(x) for x in video_res]
         return ([u'webm_video'] + video_res + [u'original'])