From: Christian Heller Date: Thu, 26 Nov 2020 20:15:16 +0000 (+0100) Subject: Fix SSL bug. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/test?a=commitdiff_plain;h=efb443c755706f750e3ff76e719ee162150f6e43;p=plomrogue2 Fix SSL bug. --- diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index aca8cf3..80a167e 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -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')