Skip to content

Commit

Permalink
第四课内容,修复
Browse files Browse the repository at this point in the history
  • Loading branch information
廖扬扬 committed Aug 24, 2018
1 parent 569ba9c commit 0aa7a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def create_app():
# 钩子 在请求执行之前
@app.before_request
def before_request():
print(current_user.username)
pass

return app

0 comments on commit 0aa7a0b

Please sign in to comment.