Skip to content

Commit

Permalink
Remove unwanted whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed May 6, 2019
1 parent dace4db commit 360c9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def post(self):
# if we have a user, update it
db.SFTPUser.update(password_hash = passwd_hash,
account_expires = expires
).where(db.SFTPUser.user == self.current_user).execute()
).where(db.SFTPUser.user == self.current_user).execute()
except db.SFTPUser.DoesNotExist:
# if there is no user, insert the user in the database
db.SFTPUser.insert(user = self.current_user,
Expand All @@ -661,7 +661,7 @@ def post(self):
.update(password_hash = passwd_hash.lstrip('\\x'))
.where(db.SFTPUser.user == self.current_user)
.execute())

self.finish({'user':username,
'expires':expires.strftime("%Y-%m-%d %H:%M"),
'password':password})
Expand Down

0 comments on commit 360c9de

Please sign in to comment.