~thelinuxguy/openlp/angular-remote

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/lib/importers/dreambeam.py

  • Committer: Tim Bentley
  • Date: 2016-07-23 04:59:26 UTC
  • mfrom: (2661.1.20 openlp)
  • Revision ID: tim.bentley@gmail.com-20160723045926-blk46f5klxndzlia
Head

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
                    if hasattr(song_xml, 'Sequence'):
125
125
                        for lyrics_sequence_item in (song_xml.Sequence.iterchildren()):
126
126
                            item = lyrics_sequence_item.get('Type')[:1]
127
 
                            self.verse_order_list.append("{item}{number}".format(item=item),
128
 
                                                         lyrics_sequence_item.get('Number'))
 
127
                            number = lyrics_sequence_item.get('Number')
 
128
                            self.verse_order_list.append("{item}{number}".format(item=item, number=number))
129
129
                    if hasattr(song_xml, 'Notes'):
130
130
                        self.comments = str(song_xml.Notes.text)
131
131
                else: