diff --git a/dist/vk_callback-1.0.1.1.tar.gz b/dist/vk_callback-1.0.1.1.tar.gz new file mode 100644 index 0000000..87d9c44 Binary files /dev/null and b/dist/vk_callback-1.0.1.1.tar.gz differ diff --git a/dist/vk_callback-1.0.1.tar.gz b/dist/vk_callback-1.0.1.tar.gz deleted file mode 100644 index 6222d6e..0000000 Binary files a/dist/vk_callback-1.0.1.tar.gz and /dev/null differ diff --git a/setup.py b/setup.py index a2ac60a..562441f 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='vk_callback', - version='1.0.1', + version='1.0.1.1', description='Develop vk callback applications and bots', packages=['vk_callback'], author_email='ill2gms@ya.ru', diff --git a/vk_callback.egg-info/PKG-INFO b/vk_callback.egg-info/PKG-INFO index 6f883ca..d711ae0 100644 --- a/vk_callback.egg-info/PKG-INFO +++ b/vk_callback.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: vk-callback -Version: 1.0.1 +Version: 1.0.1.1 Summary: Develop vk callback applications and bots Home-page: UNKNOWN Author: UNKNOWN diff --git a/vk_callback/__init__.py b/vk_callback/__init__.py index 2c6385a..5355773 100644 --- a/vk_callback/__init__.py +++ b/vk_callback/__init__.py @@ -237,9 +237,10 @@ class server: if Event.secret != group_obj.secret_key: return "Invalid secret key" elif Event.type == 'confirmation': + return group_obj.return_str + else: self.event(group_obj, Event) return 'ok' - return group_obj.return_str def event(self, group_obj, Event): return group_obj.return_str