This commit is contained in:
phill-ridout 2013-03-12 22:02:53 +00:00
parent 5ac1d0809e
commit 633bbc02cf

View File

@ -79,7 +79,8 @@ class PhononPlayer(MediaPlayer):
self._addToList(self.video_extensions_list, mimetype)
# Work around for http://bugs.python.org/issue9291
except UnicodeDecodeError:
log.exception(u'UnicodeDecodeError when trying to read mime types. Setting extensions to all files')
log.exception(u'UnicodeDecodeError when trying to read mime types.'
'Setting extensions to all files')
self.audio_extensions_list = [u'*']
self.video_extensions_list = [u'*']