From 5ac1d0809ea73c225db769db7cb9929584d11378 Mon Sep 17 00:00:00 2001 From: phill-ridout Date: Tue, 12 Mar 2013 21:56:04 +0000 Subject: [PATCH] --- openlp/core/ui/media/phononplayer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/media/phononplayer.py b/openlp/core/ui/media/phononplayer.py index 905e9c78a..ab859562f 100644 --- a/openlp/core/ui/media/phononplayer.py +++ b/openlp/core/ui/media/phononplayer.py @@ -77,10 +77,9 @@ 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 + # 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'*']