Compare commits

..

No commits in common. "master" and "6ba982b15a41580cfbbaf03a554ab32c182ed020" have entirely different histories.

View File

@ -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"]
elif "password_file" in self._config:
else if "password_file" in self._config:
with open(self._config["password_file"], "r") as f:
self._password = f.read().replace("\n", "")
else: