mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix TypeError: 'NoneType' object is not callable
This commit is contained in:
@ -101,7 +101,10 @@ class HTTPClient(object):
|
||||
def __del__(self):
|
||||
if not self._session:
|
||||
return
|
||||
self._session.close()
|
||||
try:
|
||||
self._session.close()
|
||||
except:
|
||||
pass
|
||||
self._session = None
|
||||
|
||||
def _next_session(self):
|
||||
|
Reference in New Issue
Block a user