debug admin

This commit is contained in:
nemesis 2018-07-22 23:00:07 +02:00
parent b349d40311
commit 4db1e8e036

View file

@ -1048,10 +1048,6 @@ def main():
SERVER = "" # Matrix server URL SERVER = "" # Matrix server URL
global admins global admins
print("admins")
for admin in admins:
print(admin)
if ('AUTH' in config): if ('AUTH' in config):
USERNAME = config['AUTH']['username'] # Bot's username USERNAME = config['AUTH']['username'] # Bot's username
PASSWORD = config['AUTH']['password'] # Bot's password PASSWORD = config['AUTH']['password'] # Bot's password
@ -1060,6 +1056,10 @@ def main():
else: else:
print("Probleme de lecture de configuration asmodee.ini") print("Probleme de lecture de configuration asmodee.ini")
print("admins")
for admin in admins:
print(admin)
# Create an instance of the MatrixBotAPI # Create an instance of the MatrixBotAPI
global bot global bot
bot = MatrixBotAPI(USERNAME, PASSWORD, SERVER) bot = MatrixBotAPI(USERNAME, PASSWORD, SERVER)