Fixed Lint errors

This commit is contained in:
Johnmfl 2019-06-19 16:31:46 -04:00
parent beb3861ae7
commit 64b7a1347b
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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)