diff --git a/.gitignore b/.gitignore index e28477f..2e868e3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ tests/* !tests/main.py !tests/conf.py.template !/codeforces_api +/codeforces_api/ !/.github diff --git a/codeforces_api/types.py b/codeforces_api/types.py index edc3826..a2b82de 100644 --- a/codeforces_api/types.py +++ b/codeforces_api/types.py @@ -370,13 +370,13 @@ def __init__( old_rating, new_rating, ): - self.contest_id = (contest_id,) - self.contest_name = (contest_name,) - self.handle = (handle,) - self.rank = (rank,) - self.rating_update_time_seconds = (rating_update_time_seconds,) - self.old_rating = (old_rating,) - self.new_rating = (new_rating,) + self.contest_id = contest_id + self.contest_name = contest_name + self.handle = handle + self.rank = rank + self.rating_update_time_seconds = rating_update_time_seconds + self.old_rating = old_rating + self.new_rating = new_rating def to_dict(self): return { diff --git a/codeforces_api/version.py b/codeforces_api/version.py index 8c0d5d5..159d48b 100644 --- a/codeforces_api/version.py +++ b/codeforces_api/version.py @@ -1 +1 @@ -__version__ = "2.0.0" +__version__ = "2.0.1"