forked from openlp/openlp
No internet traceback
This commit is contained in:
parent
53b58f777f
commit
0419e80aec
@ -69,7 +69,7 @@ class RemoteVersionWorker(ThreadWorker):
|
|||||||
version_info = download_version_info()
|
version_info = download_version_info()
|
||||||
log.debug('New version found: %s', version_info['latest']['version'])
|
log.debug('New version found: %s', version_info['latest']['version'])
|
||||||
break
|
break
|
||||||
except OSError:
|
except (OSError, TypeError):
|
||||||
log.exception('Unable to connect to OpenLP server to download version file')
|
log.exception('Unable to connect to OpenLP server to download version file')
|
||||||
retries += 1
|
retries += 1
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user