From 64b7a1347bf03cbd2371a1e90132f923a275a16d Mon Sep 17 00:00:00 2001 From: Johnmfl Date: Wed, 19 Jun 2019 16:31:46 -0400 Subject: [PATCH] Fixed Lint errors --- openlp/plugins/songs/forms/songreviewwidget.py | 3 +-- openlp/plugins/songs/songsplugin.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/songs/forms/songreviewwidget.py b/openlp/plugins/songs/forms/songreviewwidget.py index 0ead1aea3..61bc71952 100644 --- a/openlp/plugins/songs/forms/songreviewwidget.py +++ b/openlp/plugins/songs/forms/songreviewwidget.py @@ -25,11 +25,10 @@ A widget representing a song in the duplicate song removal wizard review page. from PyQt5 import QtCore, QtWidgets from openlp.core.ui.icons import UiIcons -from openlp.plugins.songs.lib import VerseType, db +from openlp.plugins.songs.lib import VerseType from openlp.plugins.songs.lib.openlyricsxml import SongXML - class SongReviewWidget(QtWidgets.QWidget): """ A widget representing a song on the duplicate song review page. diff --git a/openlp/plugins/songs/songsplugin.py b/openlp/plugins/songs/songsplugin.py index f84e7fd44..69d9783e0 100644 --- a/openlp/plugins/songs/songsplugin.py +++ b/openlp/plugins/songs/songsplugin.py @@ -423,7 +423,7 @@ class SongsPlugin(Plugin): """ Remove temporary songs from the database """ - songs = self.manager.get_all_objects(Song, Song.temporary == True) + songs = self.manager.get_all_objects(Song, Song.temporary == True) # noqa: E712 for song in songs: self.manager.delete_object(Song, song.id)