Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Jun 12, 2024
1 parent 52eb60e commit aaaa9d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ def _generate_missing_usernames():
users = connection.execute(stmt).all()
for id, email in users:
new_username = username_from_email_with_connection(connection, email)
stmt = update(User).where(User.id == id).values(username=new_username)
connection.execute(stmt)
update_stmt = update(User).where(User.id == id).values(username=new_username)
connection.execute(update_stmt)

0 comments on commit aaaa9d8

Please sign in to comment.