def __init__(self, app=None): bob.configure_logging() bob.init() app_settings = bob.init_config() self.app = app or create_app(**app_settings)
from __future__ import unicode_literals import bob bob.init()