Remove cheching for non-existing file in media player code.

This commit is contained in:
Martin Zibricky 2012-09-15 18:47:14 +02:00
parent 43c976d671
commit ba37730538
1 changed files with 1 additions and 2 deletions

View File

@ -111,8 +111,7 @@ class MediaController(object):
if sys.platform == 'darwin' and filename == 'vlcplayer.py':
log.warn(u'Disabling vlc media player')
continue
if filename.endswith(u'player.py') and not \
filename == 'media_player.py': # TODO This file was renamed.
if filename.endswith(u'player.py'):
path = os.path.join(controller_dir, filename)
if os.path.isfile(path):
modulename = u'openlp.core.ui.media.' + \