import sys from .environment import replay_path, replay_headless def run(): if replay_path() and replay_headless(): from .replay_cli import run_headless sys.exit(run_headless()) from .gui.app import run as run_gui run_gui() if __name__ == '__main__': run()