Skip to content

Commit

Permalink
Update annotator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThHanke authored May 17, 2024
1 parent 9dd0bbe commit c16eaaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def open_file(uri: str, authorization= None) -> Tuple["filedata": str, "filename
if uri_parsed.scheme in ["https", "http"]:
# r = urlopen(uri)
s= requests.Session()
s.verify=False
s.headers.update({"Authorization": authorization})
r = s.get(uri, allow_redirects=True, stream=True)

Expand Down

0 comments on commit c16eaaa

Please sign in to comment.