This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
devs
/
PCv5
Watch
6
Star
10
Fork
4
Code
Issues
28
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Correction des EOF
pull/12/head
Dark-Storm
1 year ago
parent
584b1188d8
commit
ec748c41e7
Signed by:
Darks
GPG Key ID:
F61F10FA138E797C
3 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
.gitignore
+1
-1
app/routes/index.py
+1
-1
app/routes/users.py
+ 0
- 2
.gitignore
View File
@ -1,5 +1,3 @@
app.db
__pycache__/
app/__pycache__/
app/static/avatars/
+ 1
- 1
app/routes/index.py
View File
@ -12,4 +12,4 @@ def file_not_found(e):
@app.errorhandler
(
403
)
def
unauthorized_access
(
e
)
:
return
render
(
'
errors/403.html
'
)
,
403
return
render
(
'
errors/403.html
'
)
,
403
+ 1
- 1
app/routes/users.py
View File
@ -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
)
)
return
redirect
(
url_for
(
'
user
'
,
username
=
user
.
name
)
)
Write
Preview
Loading…
Cancel
Save