Queer European MD passionate about IT
Ver Fonte

Comments

Davte há 5 anos atrás
pai
commit
f525caa2e5
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      davtelepot/bot.py

+ 2 - 0
davtelepot/bot.py

@@ -67,6 +67,8 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject):
     bots = []
     _path = '.'
     runner = None
+    # TODO: find a way to choose port automatically by default
+    # Setting port to 0 does not work unfortunately
     local_host = 'localhost'
     port = 3000
     final_state = 0