mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2026-01-29 13:50:52 +03:00
Remove session closer, it seems to break the config setup
This commit is contained in:
@@ -14,8 +14,6 @@ class YtLoungeApi(pyytlounge.YtLoungeApi):
|
|||||||
web_session: ClientSession = None):
|
web_session: ClientSession = None):
|
||||||
super().__init__("iSponsorBlockTV", logger=logger)
|
super().__init__("iSponsorBlockTV", logger=logger)
|
||||||
if web_session is not None:
|
if web_session is not None:
|
||||||
asyncio.get_event_loop().run_until_complete(
|
|
||||||
self.close()) # Close the default connection
|
|
||||||
self.session = web_session # And use the one we passed
|
self.session = web_session # And use the one we passed
|
||||||
self.auth.screen_id = screen_id
|
self.auth.screen_id = screen_id
|
||||||
self.auth.lounge_id_token = None
|
self.auth.lounge_id_token = None
|
||||||
|
|||||||
Reference in New Issue
Block a user