Don't Keep session alive

main
Bob Mottram 2020-06-23 23:17:48 +01:00
parent 370bb4b1cf
commit 689e9a76cf
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ baseDirectory = None
def createSession(proxyType: str):
session = None
try:
session = requests.session(config={'keep_alive': True})
session = requests.session()
except requests.exceptions.RequestException as e:
print('WARN: requests error during createSession')
print(e)