Update to resolve error for connections to close
This commit is contained in:
parent
103144e39f
commit
2082dba946
@ -275,10 +275,6 @@ def main():
|
|||||||
if uploader:
|
if uploader:
|
||||||
uploader.close()
|
uploader.close()
|
||||||
|
|
||||||
# Force closing any remaining connections
|
|
||||||
# This is a bit heavy-handed but effective for cleanup
|
|
||||||
requests.sessions.close_all_sessions()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.exit(main())
|
sys.exit(main())
|
Loading…
x
Reference in New Issue
Block a user