fixed formatting

This commit is contained in:
Somdev Sangwan
2021-05-10 11:35:08 +05:30
committed by GitHub
parent 50fa45f63c
commit 243212f6d9

View File

@@ -43,7 +43,7 @@ def error_handler(response, factors):
if 'Timeout' in response: if 'Timeout' in response:
if mem.var['timeout'] > 20: if mem.var['timeout'] > 20:
mem.var['kill'] = True mem.var['kill'] = True
print('%s Connection timed out, unable to increase timeout further') print('%s Connection timed out, unable to increase timeout further' % bad)
return 'kill' return 'kill'
else: else:
print('%s Connection timed out, increased timeout by 5 seconds' % bad) print('%s Connection timed out, increased timeout by 5 seconds' % bad)