forked from openlp/openlp
This commit is contained in:
parent
2c01be044c
commit
d5f8201c8b
@ -77,6 +77,7 @@ class PhononPlayer(MediaPlayer):
|
||||
self._addToList(self.audio_extensions_list, mimetype)
|
||||
elif mimetype.startswith(u'video/'):
|
||||
self._addToList(self.video_extensions_list, mimetype)
|
||||
# Work arround for http://bugs.python.org/issue9291
|
||||
except UnicodeDecodeError:
|
||||
log.exception(u'UnicodeDecodeError when trying to read mime types.'
|
||||
' Setting extensions to all files')
|
||||
|
Loading…
Reference in New Issue
Block a user