Fix a misuse of a set as a dictionary in db loading.

This commit is contained in:
Eevee 2011-04-10 18:51:03 -07:00
parent b652c49b80
commit 36fa8b7093

View file

@ -295,7 +295,7 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False, s
session.connection().execute(
insert_stmt.values(**row_data)
)
seen_ids[row_data['id']] = 1
seen_ids.add(row_data['id'])
session.commit()
print_done()