No internet traceback

This commit is contained in:
Mattias Põldaru 2020-05-30 06:35:09 +00:00 committed by Raoul Snyman
parent 53b58f777f
commit 0419e80aec

View File

@ -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: