Compare commits
6
Commits
dev
...
2be9cc5795
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2be9cc5795 | ||
|
|
07a2bf7e38 | ||
|
|
1ee949eae2 | ||
|
|
8bec9a159b | ||
|
|
ee77279d6e | ||
|
|
1b67240976 |
@@ -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")
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
import discord
|
||||
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)
|
||||
return
|
||||
# Make sure this one is past every other ! commands
|
||||
await self.fitness_activity_log(message)
|
||||
await self.log_fitness(message)
|
||||
return
|
||||
# endregion Fitness commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user