Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
fa2c5db2
Commit
fa2c5db2
authored
6 months ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
User: Cleanup
parent
4edab5e7
No related branches found
No related tags found
1 merge request
!137
Sazba diplomů
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/user.py
+2
-2
2 additions, 2 deletions
mo/web/user.py
with
2 additions
and
2 deletions
mo/web/user.py
+
2
−
2
View file @
fa2c5db2
...
@@ -572,7 +572,7 @@ def scoretable_construct(scoretable: db.ScoreTable) -> Tuple[List[Column], List[
...
@@ -572,7 +572,7 @@ def scoretable_construct(scoretable: db.ScoreTable) -> Tuple[List[Column], List[
@app.route
(
'
/user/contest/<int:id>/score
'
)
@app.route
(
'
/user/contest/<int:id>/score
'
)
def
user_contest_score
(
id
:
int
):
def
user_contest_score
(
id
:
int
):
contest
,
pion
=
get_contest
_pion
(
id
,
require_reg
=
False
)
contest
=
get_contest
(
id
,
require_reg
=
False
)
round
=
contest
.
round
round
=
contest
.
round
format
=
request
.
args
.
get
(
'
format
'
,
""
)
format
=
request
.
args
.
get
(
'
format
'
,
""
)
...
@@ -609,7 +609,7 @@ def user_contest_score(id: int):
...
@@ -609,7 +609,7 @@ def user_contest_score(id: int):
@app.route
(
'
/user/contest/<int:id>/score.pdf
'
)
@app.route
(
'
/user/contest/<int:id>/score.pdf
'
)
def
user_contest_score_pdf
(
id
:
int
):
def
user_contest_score_pdf
(
id
:
int
):
contest
,
pion
=
get_contest
_pion
(
id
,
require_reg
=
False
)
contest
=
get_contest
(
id
,
require_reg
=
False
)
scoretable
=
contest
.
scoretable
scoretable
=
contest
.
scoretable
# Výsledkovku zobrazíme, jen pokud je soutěž již ukončená
# Výsledkovku zobrazíme, jen pokud je soutěž již ukončená
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment