Skip to content

Commit

Permalink
change user.py
Browse files Browse the repository at this point in the history
  • Loading branch information
linyouxiang committed May 23, 2018
1 parent 1eead83 commit 4c26073
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/api/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ def change_avatar(id = None, binary = None, **params):
avatar = file.change_avatar(binary, user.avatar)
user.avatar = avatar
src = '/'.join(['/static', current_app.config["AVATAR_PATH"], avatar])
import time
time.sleep(4)
return message("success", {"src": src})


Expand Down

0 comments on commit 4c26073

Please sign in to comment.