def __exit__(self, x, y, z): intensity_conf.set(*(self.args[0:2] + (self.saved,)))
def __exit__(self, x, y, z): intensity_conf.set(*(self.args[0:2] + (self.saved, )))
def __enter__(self): self.saved = intensity_conf.get(*(self.args[0:2])) intensity_conf.set(*(self.args))