Merge pull request 'Fixed wrong json key being pulled (I forgot to replace the old name)' (#13) from json-key-fix into master
Reviewed-on: #13 Reviewed-by: AllfatherHatt <allfatherhatt@noreply.localhost>
This commit is contained in:
commit
07a2bf7e38
@ -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")
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user