6 Commits
2 changed files with 3 additions and 3 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")
+2 -2
View File
@@ -1,7 +1,7 @@
import os import os
import discord import discord
from redbot.core import Config, commands from redbot.core import Config, commands
from activity_logger import log_activity, activity_log_path, activity_units_path from .activity_logger import log_activity, activity_log_path, activity_units_path
@@ -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