Skip to content

Commit

Permalink
[usaco] Use scoring section in statements
Browse files Browse the repository at this point in the history
  • Loading branch information
niyaznigmatullin committed Aug 15, 2020
1 parent 472c242 commit f8f6d3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion polygon_uploader/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@


__version__ = "0.2.5"
__version__ = "0.2.6"
4 changes: 2 additions & 2 deletions polygon_uploader/usaco/usaco.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ def extract_part(class_name):
name=name,
legend=latexify_post(statement.text, lang),
input=input,
output=("" if output is None else output) +
("" if scoring is None else ("\n\\Scoring\n" + scoring)),
output=output,
scoring=scoring,
notes=note)
prob.save_statement(lang=lang_polygon, problem_statement=polygon_statement)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
url="https://github.com/niyaznigmatullin/polygon-uploader",
author="Niyaz Nigmatullin",
install_requires=[
'polygon-api>=1.0a6',
'polygon-api>=1.0a7',
'requests',
'pyyaml',
'progressbar2',
Expand Down

0 comments on commit f8f6d3c

Please sign in to comment.