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)