Queer European MD passionate about IT
Davte hace 5 años
padre
commit
f525caa2e5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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