diff options
-rw-r--r-- | arthur/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/bot.py b/arthur/bot.py index 24d7546..4bb14b8 100644 --- a/arthur/bot.py +++ b/arthur/bot.py @@ -38,7 +38,7 @@ class KingArthur(Bot): DiscordComponents(self) # Authenticate with Kubernetes - if Path("~/.kube/config").exists(): + if (Path.home() / ".kube/config").exists(): await config.load_kube_config() else: config.load_incluster_config() |