up-date build info

This commit is contained in:
FullGreaM 2021-09-13 18:02:26 +03:00
parent ca14f42d72
commit 8bb0ae334a
5 changed files with 4 additions and 3 deletions

BIN
dist/vk_callback-1.0.1.1.tar.gz vendored Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,7 @@
from setuptools import setup from setuptools import setup
setup(name='vk_callback', setup(name='vk_callback',
version='1.0.1', version='1.0.1.1',
description='Develop vk callback applications and bots', description='Develop vk callback applications and bots',
packages=['vk_callback'], packages=['vk_callback'],
author_email='ill2gms@ya.ru', author_email='ill2gms@ya.ru',

View File

@ -1,6 +1,6 @@
Metadata-Version: 1.0 Metadata-Version: 1.0
Name: vk-callback Name: vk-callback
Version: 1.0.1 Version: 1.0.1.1
Summary: Develop vk callback applications and bots Summary: Develop vk callback applications and bots
Home-page: UNKNOWN Home-page: UNKNOWN
Author: UNKNOWN Author: UNKNOWN

View File

@ -237,9 +237,10 @@ class server:
if Event.secret != group_obj.secret_key: if Event.secret != group_obj.secret_key:
return "Invalid secret key" return "Invalid secret key"
elif Event.type == 'confirmation': elif Event.type == 'confirmation':
return group_obj.return_str
else:
self.event(group_obj, Event) self.event(group_obj, Event)
return 'ok' return 'ok'
return group_obj.return_str
def event(self, group_obj, Event): def event(self, group_obj, Event):
return group_obj.return_str return group_obj.return_str