def run_func(self, f):
        """run a function while showing an ActivityIndicator()"""
        self.ai.start()
        self.subview_open = True  # a subview may have been opened
        try:
            f()
        finally:
            self.subview_open = False
            self.ai.stop()
run a function while showing an ActivityIndicator()
bin/easy_config.py