File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2626
2727on_rtd = os .environ .get ("READTHEDOCS" ) == "True"
2828project = "TwitchIO"
29- copyright = "2023 , TwitchIO"
29+ copyright = "2024 , TwitchIO"
3030author = "PythonistaGuild"
3131
3232# The full version, including alpha/beta/rc tags
Original file line number Diff line number Diff line change 2727__title__ = "TwitchIO"
2828__author__ = "TwitchIO, PythonistaGuild"
2929__license__ = "MIT"
30- __copyright__ = "Copyright 2017-2022 (c) TwitchIO"
31- __version__ = "2.8.2 "
30+ __copyright__ = "Copyright 2017-present (c) TwitchIO"
31+ __version__ = "2.9.1 "
3232
3333from .client import Client
3434from .user import *
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ async def pump(self) -> None:
212212 except TypeError as e :
213213 logger .warning (f"Received bad frame: { e .args [0 ]} " )
214214
215- if e .args [0 ] is None : # websocket was closed, reconnect
215+ if "257" in e .args [0 ]: # websocket was closed, reconnect
216216 logger .info ("Known bad frame, restarting connection" )
217217 await self .connect ()
218218 return
You can’t perform that action at this time.
0 commit comments