authen 2 rokov pred
rodič
commit
33544eb831
2 zmenil súbory, kde vykonal 7 pridanie a 7 odobranie
  1. 6 6
      authen/werobot/robot.py
  2. 1 1
      setup.py

+ 6 - 6
authen/werobot/robot.py

@@ -648,6 +648,12 @@ class BaseRoBot(object):
         self.make_error_page = f
         return f
 
+
+class WeRoBot(BaseRoBot):
+    """
+    WeRoBot 是一个继承自 BaseRoBot 的对象,在 BaseRoBot 的基础上使用了 bottle 框架,
+    提供接收微信服务器发来的请求的功能。
+    """
     def init_app(self, app):
         """
         使werobot 配合app使用
@@ -665,12 +671,6 @@ class BaseRoBot(object):
             ENCODING_AES_KEY=encoding_aes_key)
 
 
-
-class WeRoBot(BaseRoBot):
-    """
-    WeRoBot 是一个继承自 BaseRoBot 的对象,在 BaseRoBot 的基础上使用了 bottle 框架,
-    提供接收微信服务器发来的请求的功能。
-    """
     @cached_property
     def wsgi(self):
         if not self._handlers:

+ 1 - 1
setup.py

@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
 
 setup(
     name='authen.werobot',
-    version=0.14,
+    version=0.15,
     url='http://git.trops-global.com/authen/wxmp_utils.git',
     license='GPL',
     author='authen',