Skip to content

Commit

Permalink
Move urllib3 to optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala authored and saulpw committed Jul 22, 2022
1 parent 8fb98d8 commit fced018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unzip_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import pathlib
import urllib.parse

import urllib3

__version__ = '0.5'

Expand Down Expand Up @@ -99,6 +98,7 @@ class RemoteZipFile:
magic_eocd = b'\x50\x4b\x05\x06'

def __init__(self, url):
import urllib3
self.url = url
self.http = urllib3.PoolManager()
self.zip_size = 0
Expand Down

0 comments on commit fced018

Please # to comment.