From bd675bdd32ac87f7ead6327554c95e04581b15c6 Mon Sep 17 00:00:00 2001 From: dtookey Date: Fri, 2 Oct 2020 14:58:49 -0400 Subject: [PATCH] updated script search logic --- commands/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/loader.py b/commands/loader.py index a3b0d9f..fafc4ec 100644 --- a/commands/loader.py +++ b/commands/loader.py @@ -48,7 +48,7 @@ def get_base_dir() -> str: current = split[len(split) - 1] if current == 'commands': return check_dir(cwd) - if current == 'Praxis_Bot': + elif current == 'Praxis_Bot' or current == 'Praxis': return check_dir(os.path.join(current, "commands")) else: print("could not find working directory for Praxis_Bot/commands")