forked from openlp/openlp
don't shadow build-in
This commit is contained in:
parent
25952c8751
commit
2c8dd847c0
@ -64,10 +64,10 @@ class WorshipCenterProImport(SongImport):
|
||||
records = cursor.fetchall()
|
||||
songs = {}
|
||||
for record in records:
|
||||
id = record.ID
|
||||
if id not in songs:
|
||||
songs[id] = {}
|
||||
songs[id][record.Field] = record.Value
|
||||
record_id = record.ID
|
||||
if record_id not in songs:
|
||||
songs[record_id] = {}
|
||||
songs[record_id][record.Field] = record.Value
|
||||
self.import_wizard.progress_bar.setMaximum(len(songs))
|
||||
for song in songs:
|
||||
if self.stop_import_flag:
|
||||
|
Loading…
Reference in New Issue
Block a user