def __init__(self, app = None, router=None): EnvironLink.__init__(self, app) if router is None: router = Router() self.router = router
def __init__(self, app, config): EnvironLink.__init__(self, app) self.setconfig(config)