home · contact · privacy
Fix SSL bug.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 26 Nov 2020 20:15:16 +0000 (21:15 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 26 Nov 2020 20:15:16 +0000 (21:15 +0100)
rogue_chat_curses.py

index aca8cf3cad1589c6bae6c2825b607dea0e23f48a..80a167eea6d5c042c401bf4d93a9482f8ab887f3 100755 (executable)
@@ -453,6 +453,7 @@ class TUI:
             self.disconnected = False
             self.game.thing_types = {}
             self.game.terrains = {}
+            time.sleep(0.1)  # give potential SSL negotation some time …
             self.socket.send('TASKS')
             self.socket.send('TERRAINS')
             self.socket.send('THING_TYPES')