From b5c20c8c7158af9766da9b3ebe7e7e823983ef77 Mon Sep 17 00:00:00 2001 From: ShenYuhan Date: Wed, 25 Dec 2019 17:59:13 +0800 Subject: [PATCH] match py2 super._init_ usage --- paddlehub/commands/serving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlehub/commands/serving.py b/paddlehub/commands/serving.py index 6de4d15b..df187477 100644 --- a/paddlehub/commands/serving.py +++ b/paddlehub/commands/serving.py @@ -37,7 +37,7 @@ class StandaloneApplication(gunicorn.app.base.BaseApplication): def __init__(self, app, options=None): self.options = options or {} self.application = app - super().__init__() + super(StandaloneApplication, self).__init__() def load_config(self): config = { -- GitLab