diff --git a/src/presenters/attach.py b/src/presenters/attach.py index e1daf01..b32f8c5 100644 --- a/src/presenters/attach.py +++ b/src/presenters/attach.py @@ -25,7 +25,7 @@ class attachPresenter(base.basePresenter): def __init__(self, session, view, interactor, voice_messages=False): """ Constructor. @ session sessionmanager.session object: an object capable of calling all VK methods and accessing the session database. - @voice_messages bool: If True, will add a button for sending voice messages. Functionality for this button has not been added yet. + @voice_messages bool: If True, will add a button for sending voice messages. """ super(attachPresenter, self).__init__(view=view, interactor=interactor, modulename="attach") self.session = session @@ -34,7 +34,7 @@ class attachPresenter(base.basePresenter): self.run() def upload_image(self, image, description): - """ allows uploading an image from the computer. + """ allows uploading an image from the computer. Description will be used when posting to VK. """ imageInfo = {"type": "photo", "file": image, "description": description, "from": "local"} self.attachments.append(imageInfo) diff --git a/src/presenters/displayPosts/topicComment.py b/src/presenters/displayPosts/topicComment.py index e64aaa8..c9a0a30 100644 --- a/src/presenters/displayPosts/topicComment.py +++ b/src/presenters/displayPosts/topicComment.py @@ -27,7 +27,6 @@ class displayTopicCommentPresenter(comment.displayCommentPresenter): self.get_attachments(self.post, message) self.check_image_load() self.send_message("disable_control", control="reply") - self.send_message("disable_control", control="comments") def post_like(self): id = self.post["id"]