From 8bec9a159bf22082a3d23b7981928e7765cd8096 Mon Sep 17 00:00:00 2001 From: T-BENZIN Date: Wed, 4 Feb 2026 12:10:34 +0100 Subject: [PATCH] Fixed wrong json key being pulled (I forgot to replace the old name) --- fitnessCog/activity_logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fitnessCog/activity_logger.py b/fitnessCog/activity_logger.py index f409dd7..51143c8 100644 --- a/fitnessCog/activity_logger.py +++ b/fitnessCog/activity_logger.py @@ -32,7 +32,7 @@ def is_convertable(activity: str) -> bool: """ filename = activity_units_path(activity) raw_data = json.load(open(filename)) - return raw_data.get("transformable") + return raw_data.get("convertable")