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 <[email protected]>
This commit was merged in pull request #13.
This commit is contained in:
@@ -32,7 +32,7 @@ def is_convertable(activity: str) -> bool:
|
|||||||
"""
|
"""
|
||||||
filename = activity_units_path(activity)
|
filename = activity_units_path(activity)
|
||||||
raw_data = json.load(open(filename))
|
raw_data = json.load(open(filename))
|
||||||
return raw_data.get("transformable")
|
return raw_data.get("convertable")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user