Skip to content

Commit

Permalink
Pass timeout parameter to get_filesize() (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski authored Sep 19, 2020
1 parent f2c6e6b commit e26d2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pySmartDL/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def is_HTTPRange_supported(url, timeout=15):
'''
url = url.replace(' ', '%20')

fullsize = get_filesize(url)
fullsize = get_filesize(url, timeout=timeout)
if not fullsize:
return False

Expand Down

0 comments on commit e26d2d2

Please sign in to comment.