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()
log.debug('New version found: %s', version_info['latest']['version'])
break
except OSError:
except (OSError, TypeError):
log.exception('Unable to connect to OpenLP server to download version file')
retries += 1
else: