Browse Source

don't print token, thanks

thezero 1 year ago
parent
commit
1d0d83b1df
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/main.py

+ 0 - 1
src/main.py

@@ -50,7 +50,6 @@ if os.environ.get('CONF_FOLDER') is None:
 TOKEN = None
 with open(os.path.join(os.environ['CONF_FOLDER'], 'bot.token')) as f:
     TOKEN = f.read().strip()
-logger.error(TOKEN)
 updater = Updater(token=TOKEN)
 
 updater.dispatcher.add_handler(MessageHandler(Filters.text, get_format))