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

Merged
AllfatherHatt merged 1 commits from json-key-fix into master 2026-02-04 12:32:57 +01:00
Showing only changes of commit 8bec9a159b - Show all commits

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