Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bec9a159b | ||
|
|
ee77279d6e | ||
|
|
1b67240976 | ||
|
|
16a19e6913 |
@@ -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,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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user