forked from openlp/openlp
Revert fix for bug 1421561, it is fixed elsewhere.
This commit is contained in:
parent
06355032a2
commit
f01aa970a7
|
@ -449,7 +449,7 @@ class FirstTimeForm(QtGui.QWizard, UiFirstTimeWizard, RegistryProperties):
|
||||||
site = urllib.request.urlopen(url, timeout=CONNECTION_TIMEOUT)
|
site = urllib.request.urlopen(url, timeout=CONNECTION_TIMEOUT)
|
||||||
meta = site.info()
|
meta = site.info()
|
||||||
return int(meta.get("Content-Length"))
|
return int(meta.get("Content-Length"))
|
||||||
except ConnectionError:
|
except ConnectionException:
|
||||||
if retries > CONNECTION_RETRIES:
|
if retries > CONNECTION_RETRIES:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue