From 0ad713407bcc454ecec9a8f433a611c19c37b6ff Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 14 Jun 2012 23:20:55 +0200 Subject: [PATCH] Fixed bug #1013215: Catch a previously uncaught NotImplementedError and do nothing so that OpenLP realises that VLC is not available. Fixes: https://launchpad.net/bugs/1013215 --- openlp/core/ui/media/vlcplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index 2d98fb599..58980a4f5 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -44,7 +44,7 @@ VLC_AVAILABLE = False try: import vlc VLC_AVAILABLE = bool(vlc.get_default_instance()) -except (ImportError, NameError): +except (ImportError, NameError, NotImplementedError): pass except OSError, e: if sys.platform.startswith('win'):