Skip to content
Closed
Prev Previous commit
Next Next commit
fixed syntaxError with assigning ClientSession
  • Loading branch information
simran7s committed Jul 23, 2021
commit 43a0d340348e638bdde0f5019a8045c7e8f8be5b
2 changes: 1 addition & 1 deletion app/utils/httputils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async def setup_client_session(self):
"""
# global CLIENT_SESSION # pylint: disable=global-statement
self.getLogger().info("Setting up global aiohttp.ClientSession.")
self.getClientSession() = ClientSession()
self.__CLIENT_SESSION = ClientSession()

async def teardown_client_session(self):
"""Close the application-global aiohttp.ClientSession.
Expand Down