Skip to content

Commit

Permalink
Remove unused context variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcf000 committed Jun 23, 2022
1 parent 375d1ee commit 3d5f4d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cget/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ def hook(count, block_size, total_size):
# Hack because we can't set the position
bar.pos = percent
bar.update(0)
context = None
if insecure: context = ssl._create_unverified_context()
try:
request.urlretrieve(url, filename=file, reporthook=hook, data=None)
except error.HTTPError as e:
Expand Down

0 comments on commit 3d5f4d6

Please sign in to comment.