From bbef34d125ff05427869a395e9ba2d3f082c1289 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 27 Aug 2019 11:14:29 -0500 Subject: [PATCH] Removed unneeded prints --- src/sessionmanager/session.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index e152a1c..dd17120 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -315,7 +315,6 @@ class vkSession(object): attachments = "" if len(attachments_list) > 0: attachments = self.upload_attachments(attachments_list) - print(attachments) # VK generally defines all kind of messages under "text", "message" or "body" so let's try with all of those possible_message_keys = ["text", "message", "body"] for i in possible_message_keys: @@ -330,7 +329,6 @@ class vkSession(object): # After modifying everything, let's update the post arguments if needed. if len(attachments) > 0: post_arguments.update(attachments=attachments) - print(post_arguments) # Determines the correct functions to call here. parent_endpoint = getattr(self.vk.client, parent_endpoint) endpoint = getattr(parent_endpoint, child_endpoint) @@ -372,4 +370,4 @@ class vkSession(object): id = r["doc"]["id"] owner_id = r["doc"]["owner_id"] local_attachments += "doc{0}_{1},".format(owner_id, id) - return local_attachments + return local_attachments \ No newline at end of file