don't shadow build-in

This commit is contained in:
Andreas P 2021-10-23 16:01:43 +02:00
parent 25952c8751
commit 2c8dd847c0

View File

@ -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: