Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Set allow_reuse_address for GetAuthCodeServer helper class #96

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/onedrivesdk/helpers/GetAuthCodeServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def get_auth_code(auth_url, redirect_uri):
class GetAuthCodeServer(HTTPServer, object):

def __init__(self, server_address, stop_event, RequestHandlerClass):
self.allow_reuse_address = True
HTTPServer.__init__(self, server_address, RequestHandlerClass)
self._stop_event = stop_event
self.auth_code = None
Expand Down