Skip to content

Commit 18dcda7

Browse files
authored
Merge pull request #27 from vuLgAr/master
remove return app
2 parents 4ad7ab4 + b173613 commit 18dcda7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

project/server/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def create_app(script_info=None):
5858
def load_user(user_id):
5959
return User.query.filter(User.id == int(user_id)).first()
6060

61-
return app
62-
6361
# error handlers
6462
@app.errorhandler(401)
6563
def unauthorized_page(error):

0 commit comments

Comments
 (0)