Skip to content

Commit fde25e7

Browse files
committed
use urlopen
1 parent 5e8a28a commit fde25e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

browserstack/local_binary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __available_dir(self):
4646
raise BrowserStackLocalError('Error trying to download BrowserStack Local binary')
4747

4848
def download(self, chunk_size=8192, progress_hook=None):
49-
response = urllib2.urlopen(self.http_path)
49+
response = urlopen(self.http_path)
5050
total_size = int(response.info().getheader('Content-Length').strip())
5151
bytes_so_far = 0
5252

0 commit comments

Comments
 (0)