Remove session closer, it seems to break the config setup

This commit is contained in:
dmunozv04
2024-05-05 19:16:27 +02:00
parent 213ae97bf2
commit dd42e20dc4

View File

@@ -14,8 +14,6 @@ class YtLoungeApi(pyytlounge.YtLoungeApi):
web_session: ClientSession = None):
super().__init__("iSponsorBlockTV", logger=logger)
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.auth.screen_id = screen_id
self.auth.lounge_id_token = None