From 5522a3a699951b9158c00f628b4d14b6377c6278 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Thu, 25 Nov 2021 13:37:33 +0100 Subject: [PATCH] base: Fix syntax issue --- mira/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mira/base.py b/mira/base.py index be61813..ab73b43 100644 --- a/mira/base.py +++ b/mira/base.py @@ -47,7 +47,7 @@ class MiraBot: # Also supports situations where the secret cannot be in the config file if "password" in self._config: self._password = self._config["password"] - else if "password_file" in self._config: + elif "password_file" in self._config: with open(self._config["password_file"], "r") as f: self._password = f.read().replace("\n", "") else: