Fixed wrong json key being pulled (I forgot to replace the old name)

This commit is contained in:
T-BENZIN 2026-02-04 12:10:34 +01:00
parent ee77279d6e
commit 8bec9a159b

View File

@ -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")