提交 b5c20c8c 编写于 作者: 走神的阿圆's avatar 走神的阿圆

match py2 super._init_ usage

上级 34ace673
...@@ -37,7 +37,7 @@ class StandaloneApplication(gunicorn.app.base.BaseApplication): ...@@ -37,7 +37,7 @@ class StandaloneApplication(gunicorn.app.base.BaseApplication):
def __init__(self, app, options=None): def __init__(self, app, options=None):
self.options = options or {} self.options = options or {}
self.application = app self.application = app
super().__init__() super(StandaloneApplication, self).__init__()
def load_config(self): def load_config(self):
config = { config = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册