forked from openlp/openlp
Fixed Lint errors
This commit is contained in:
parent
beb3861ae7
commit
64b7a1347b
@ -25,11 +25,10 @@ A widget representing a song in the duplicate song removal wizard review page.
|
|||||||
from PyQt5 import QtCore, QtWidgets
|
from PyQt5 import QtCore, QtWidgets
|
||||||
|
|
||||||
from openlp.core.ui.icons import UiIcons
|
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
|
from openlp.plugins.songs.lib.openlyricsxml import SongXML
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class SongReviewWidget(QtWidgets.QWidget):
|
class SongReviewWidget(QtWidgets.QWidget):
|
||||||
"""
|
"""
|
||||||
A widget representing a song on the duplicate song review page.
|
A widget representing a song on the duplicate song review page.
|
||||||
|
@ -423,7 +423,7 @@ class SongsPlugin(Plugin):
|
|||||||
"""
|
"""
|
||||||
Remove temporary songs from the database
|
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:
|
for song in songs:
|
||||||
self.manager.delete_object(Song, song.id)
|
self.manager.delete_object(Song, song.id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user