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()
|
records = cursor.fetchall()
|
||||||
songs = {}
|
songs = {}
|
||||||
for record in records:
|
for record in records:
|
||||||
id = record.ID
|
record_id = record.ID
|
||||||
if id not in songs:
|
if record_id not in songs:
|
||||||
songs[id] = {}
|
songs[record_id] = {}
|
||||||
songs[id][record.Field] = record.Value
|
songs[record_id][record.Field] = record.Value
|
||||||
self.import_wizard.progress_bar.setMaximum(len(songs))
|
self.import_wizard.progress_bar.setMaximum(len(songs))
|
||||||
for song in songs:
|
for song in songs:
|
||||||
if self.stop_import_flag:
|
if self.stop_import_flag:
|
||||||
|
Loading…
Reference in New Issue
Block a user