pep8 fixes

This commit is contained in:
Tomas Groth 2015-12-26 15:30:12 +01:00
parent c5e5f5b889
commit a6f5251d7e
3 changed files with 2 additions and 5 deletions

View File

@ -65,7 +65,6 @@ def get_vlc():
if 'openlp.core.ui.media.vendor.vlc' in sys.modules: 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 # If VLC has already been imported, no need to do all the stuff below again
return sys.modules['openlp.core.ui.media.vendor.vlc'] return sys.modules['openlp.core.ui.media.vendor.vlc']
is_vlc_available = False is_vlc_available = False
try: try:
if is_macosx(): if is_macosx():

View File

@ -220,4 +220,3 @@ class SongSelectImport(object):
db_song.add_author(author) db_song.add_author(author)
self.db_manager.save_object(db_song) self.db_manager.save_object(db_song)
return db_song return db_song

View File

@ -427,4 +427,3 @@ if __name__ == '__main__':
else: else:
if not main(): if not main():
sys.exit(1) sys.exit(1)