diff --git a/aw_client/classes.py b/aw_client/classes.py index 5436aed..9c5e7b0 100644 --- a/aw_client/classes.py +++ b/aw_client/classes.py @@ -69,6 +69,8 @@ def get_classes() -> List[Tuple[List[str], dict]]: Get classes from server-side settings. Might throw a 404 if not set yet, in which case we use the default classes as a fallback. """ + # NOTE: Always tries to fetch from prod server, + # which is potentially wrong if testing server is being used. awc = aw_client.ActivityWatchClient(f"get-setting-{random.randint(0, 10000)}") try: classes = awc.get_setting("classes")