diff --git a/obs_client.py b/obs_client.py index 885bbba..125fb53 100644 --- a/obs_client.py +++ b/obs_client.py @@ -21,6 +21,11 @@ def main(): while True: ui = sc2client.get_screens() + if ui is None: + print("SC2 not running?") + sleep(5) + continue + if len(ui.activeScreens) and Screen.loading in ui.activeScreens: print(Screen.loading)