Queer European MD passionate about IT
Davte 5 years ago
parent
commit
f525caa2e5
1 changed files with 2 additions and 0 deletions
  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