def main(): app, socketio = create_app(config_object='pyozwweb.config.RunConfig') run_app(app, socketio)
def main(): app, socketio = create_app(config_object='pyozwweb.config.ReloadConfig') run_app(app, socketio)
def run(self): """The running method""" run_app(self.app, self.socketio)