2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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")
+1 -1
View File
@@ -30,7 +30,7 @@ class FitnessCog(commands.Cog):
await self.get_log_file(message) await self.get_log_file(message)
return return
# Make sure this one is past every other ! commands # Make sure this one is past every other ! commands
await self.fitness_activity_log(message) await self.log_fitness(message)
return return
# endregion Fitness commands # endregion Fitness commands