diff --git a/mira/base.py b/mira/base.py index 80b8774..be61813 100644 --- a/mira/base.py +++ b/mira/base.py @@ -49,7 +49,7 @@ class MiraBot: self._password = self._config["password"] else if "password_file" in self._config: with open(self._config["password_file"], "r") as f: - self._password = f.read() + self._password = f.read().replace("\n", "") else: raise Exception("Neither password nor password_file specified")