Ensure nntp-tiny-passwd issues database commit
This commit is contained in:
parent
ffca139659
commit
06b2d3a36e
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ while attempts_left > 0:
|
|||
|
||||
try:
|
||||
db.update(user)
|
||||
db.commit()
|
||||
except Exception as e:
|
||||
print(f"Unable to change password for user '{args.username}': {e}")
|
||||
exit(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue