Better handling of email usernames

feature/embed-uploads
Tristan Gosselin-Hane 7 years ago
parent 7e346180ab
commit e90ae8c45f
  1. 4
      webhook-bridge.py

@ -185,8 +185,8 @@ def main():
except YggdrasilError as e: except YggdrasilError as e:
logging.info(e) logging.info(e)
sys.exit() sys.exit()
BOT_USERNAME = auth_token.username BOT_USERNAME = auth_token.profile.name
logging.info("Logged in as %s..." % auth_token.username) logging.info("Logged in as %s..." % auth_token.profile.name)
while not is_server_online(): while not is_server_online():
logging.info('Not connecting to server because it appears to be offline.') logging.info('Not connecting to server because it appears to be offline.')
time.sleep(15) time.sleep(15)

Loading…
Cancel
Save