From eed244deb533e721e3d77946efe4d02e8de217dd Mon Sep 17 00:00:00 2001 From: Eriks K Date: Tue, 19 May 2020 14:03:41 +0300 Subject: [PATCH] Article commenting bugfix --- erepublik/__init__.py | 2 +- erepublik/citizen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erepublik/__init__.py b/erepublik/__init__.py index 9fe98a8..9d0b47b 100644 --- a/erepublik/__init__.py +++ b/erepublik/__init__.py @@ -5,7 +5,7 @@ __author__ = """Eriks Karls""" __email__ = 'eriks@72.lv' __version__ = '0.20.0' -__commit_id__ = "7aa353b" +__commit_id__ = "1e7c9a3" from erepublik import classes, utils from erepublik.citizen import Citizen diff --git a/erepublik/citizen.py b/erepublik/citizen.py index 490d7ed..66250c0 100644 --- a/erepublik/citizen.py +++ b/erepublik/citizen.py @@ -1265,7 +1265,7 @@ class CitizenMedia(BaseCitizen): def write_article_comment(self, message: str, article_id: int, parent_id: int = None) -> Response: self._report_action("ARTICLE_COMMENT", f"Wrote a comment to article ({article_id})", - msg=message, article_id=article_id, parent_id=parent_id) + kwargs=dict(msg=message, article_id=article_id, parent_id=parent_id)) return self._post_main_article_comments_create(message, article_id, parent_id) def publish_article(self, title: str, content: str, kind: int) -> int: