Queer European MD passionate about IT
Davte 5 anni fa
parent
commit
f525caa2e5
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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