Fixed wrong json key being pulled (I forgot to replace the old name) #13
@ -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")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user