From ec748c41e7af67fb14bc18383434df140632011e Mon Sep 17 00:00:00 2001 From: Dark-Storm Date: Tue, 5 Feb 2019 23:25:16 +0100 Subject: [PATCH] Correction des EOF --- .gitignore | 2 -- app/routes/index.py | 2 +- app/routes/users.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ecd218d..06657c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -app.db - __pycache__/ app/__pycache__/ app/static/avatars/ diff --git a/app/routes/index.py b/app/routes/index.py index 6c0f038..d43a158 100644 --- a/app/routes/index.py +++ b/app/routes/index.py @@ -12,4 +12,4 @@ def file_not_found(e): @app.errorhandler(403) def unauthorized_access(e): - return render('errors/403.html'), 403 \ No newline at end of file + return render('errors/403.html'), 403 diff --git a/app/routes/users.py b/app/routes/users.py index e3299a4..111389b 100644 --- a/app/routes/users.py +++ b/app/routes/users.py @@ -17,4 +17,4 @@ def user_by_id(user_id): user = Member.query.filter_by(id=user_id).first() if not user: abort(404) - return redirect(url_for('user', username=user.name)) \ No newline at end of file + return redirect(url_for('user', username=user.name))