Appveyor: Also handle IOError
This is on Python 2.7 where they are separate
This commit is contained in:
parent
e99d75c18d
commit
04148ed1c6
@ -53,7 +53,7 @@ pyqt_url = ('http://www.qutebrowser.org/pyqt/'
|
||||
|
||||
try:
|
||||
urllib.urlretrieve(pyqt_url, r'C:\install-PyQt5.exe')
|
||||
except OSError:
|
||||
except (OSError, IOError):
|
||||
print("Downloading PyQt failed, trying again in 10 seconds...")
|
||||
time.sleep(10)
|
||||
urllib.urlretrieve(pyqt_url, r'C:\install-PyQt5.exe')
|
||||
|
Loading…
Reference in New Issue
Block a user