Skip to content

Commit

Permalink
Update copy_db.py
Browse files Browse the repository at this point in the history
  • Loading branch information
platipusica authored Jan 2, 2025
1 parent 2d3e280 commit d132b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jam/admin/copy_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def count_records(item, db, con):
item = it.copy(handlers=False, filters=False, details=False)
if item.table_name and not item.virtual_table:
rec_count = count_records(item, task.db, con)
record_count = count_records(item, task.db, con)
record_count = count_records(item, db, connection)
loaded = 0
task.log.info('copying table %s records: %s' % (item.item_name, record_count))
if record_count and rec_count != record_count:
Expand Down

0 comments on commit d132b7a

Please sign in to comment.