If there is no current_app, fall back to self.app saved in init_app()