Skip to content

Commit

Permalink
Hotfixes and optimizes
Browse files Browse the repository at this point in the history
  • Loading branch information
VadVergasov committed Mar 15, 2021
1 parent 5f6d9ee commit e1afb4f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install twine
run: >-
pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion codeforces_api/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def __init__(

def to_dict(self):
return {
"id": id,
"id": self.id,
"original_locale": self.original_locale,
"creation_time_seconds": self.creation_time_seconds,
"author_handle": self.author_handle,
Expand Down
2 changes: 1 addition & 1 deletion codeforces_api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.1"
__version__ = "2.0.2"

0 comments on commit e1afb4f

Please sign in to comment.