def __init__(self, logger): self.console = Console(logger); Context.__init__(self, logger) if('firstload__' not in globals()): globals()['firstload__'] = True else: globals()['firstload__'] = False