~johnmfl/openlp/delete_temp_songs_add_fields_dupsongreview

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/songsplugin.py

  • Committer: Johnmfl
  • Date: 2019-06-19 20:31:46 UTC
  • Revision ID: johnathan.morris.58@gmail.com-20190619203146-1ox286irxyfc9y1x
Fixed Lint errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
        """
424
424
        Remove temporary songs from the database
425
425
        """
426
 
        songs = self.manager.get_all_objects(Song, Song.temporary == True)
 
426
        songs = self.manager.get_all_objects(Song, Song.temporary == True) # noqa: E712
427
427
        for song in songs:
428
428
            self.manager.delete_object(Song, song.id)
429
429