From 3bbc515e10020dadac0071a1a9a4cb4c0057d224 Mon Sep 17 00:00:00 2001 From: ge Date: Sun, 28 Aug 2022 17:15:48 +0300 Subject: [PATCH] fix: delete prints, config.toml --- data/config.example.toml | 2 +- vk_toot.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/data/config.example.toml b/data/config.example.toml index e42ff20..bf50098 100644 --- a/data/config.example.toml +++ b/data/config.example.toml @@ -4,7 +4,7 @@ API_ACCESS_TOKEN = 'your_access_token_here' [vk] API_URL = 'https://api.vk.com/method' -API_VERSION = 5.131 +API_VERSION = '5.131' API_ACCESS_TOKEN = 'your_access_token_here' GROUP_DOMAIN = 'apiclub' diff --git a/vk_toot.py b/vk_toot.py index b007778..4c733d6 100644 --- a/vk_toot.py +++ b/vk_toot.py @@ -168,8 +168,6 @@ def toot(post_data: dict) -> str: # Get status text text = post_text + '\n\n' + 'Source: ' + vk_post_url + '\n\nAttachments:\n' + post_attachments - print('Длина текста', len(text)) - print(text) # Post toot! publish_toot(text, media_ids)