~marmyshev/openlp/itunes

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/lib/openlyricsexport.py

  • Committer: Andreas Preikschat
  • Date: 2012-12-28 20:15:56 UTC
  • mfrom: (1970.2.54 bug-779201-2)
  • Revision ID: googol@lavabit.com-20121228201556-i1p7aq0byf5cuip7
QString and QVariant auto-conversion (bug #779201)

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
            Receiver.send_message(u'openlp_process_events')
68
68
            if self.parent.stop_export_flag:
69
69
                return False
70
 
            self.parent.incrementProgressBar(unicode(translate(
71
 
                'SongsPlugin.OpenLyricsExport', 'Exporting "%s"...')) %
72
 
                song.title)
 
70
            self.parent.incrementProgressBar(translate(
 
71
            'SongsPlugin.OpenLyricsExport', 'Exporting "%s"...') % song.title)
73
72
            xml = openLyrics.song_to_xml(song)
74
73
            tree = etree.ElementTree(etree.fromstring(xml))
75
74
            filename = u'%s (%s)' % (song.title,