diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index 831b53de2..71466c3d7 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -65,15 +65,14 @@ def get_vlc(): if 'openlp.core.ui.media.vendor.vlc' in sys.modules: # If VLC has already been imported, no need to do all the stuff below again return sys.modules['openlp.core.ui.media.vendor.vlc'] - is_vlc_available = False try: if is_macosx(): # Newer versions of VLC on OS X need this. See https://forum.videolan.org/viewtopic.php?t=124521 os.environ['VLC_PLUGIN_PATH'] = '/Applications/VLC.app/Contents/MacOS/plugins' # On Windows when frozen in PyInstaller, we need to blank SetDllDirectoryW to allow loading of the VLC dll. - # This is due to limitations (by desgin) in PyInstaller. SetDllDirectoryW original value is restored once - # VLC has been imported. + # This is due to limitations (by desgin) in PyInstaller. SetDllDirectoryW original value is restored once + # VLC has been imported. if is_win(): buffer_size = 1024 dll_directory = ctypes.create_unicode_buffer(buffer_size) diff --git a/openlp/plugins/songs/lib/songselect.py b/openlp/plugins/songs/lib/songselect.py index d2cdcd901..b9bc7a7d4 100644 --- a/openlp/plugins/songs/lib/songselect.py +++ b/openlp/plugins/songs/lib/songselect.py @@ -220,4 +220,3 @@ class SongSelectImport(object): db_song.add_author(author) self.db_manager.save_object(db_song) return db_song - diff --git a/scripts/translation_utils.py b/scripts/translation_utils.py index c3c126b43..2c857f672 100755 --- a/scripts/translation_utils.py +++ b/scripts/translation_utils.py @@ -427,4 +427,3 @@ if __name__ == '__main__': else: if not main(): sys.exit(1) -