Add test to see if the config is loading at all in the right dir

This commit is contained in:
Charlie 2026-02-01 21:15:04 +13:00
parent 9438b63c40
commit 64b1d812cd

1
bot.py
View file

@ -14,6 +14,7 @@ def load_config():
base_path = os.path.dirname(__file__)
config_path = os.path.join(base_path, "config.toml")
try:
print(f"Loading config from: {config_path}")
with open(config_path, "rb") as f:
return tomllib.load(f)
except FileNotFoundError: