1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00

[checkupdates] Don't fail for disabled apps

This commit is contained in:
Jochen Sprickerhof 2021-07-29 10:45:41 +02:00
parent 93bf481f8b
commit 58dcb4c2a0

View File

@ -434,7 +434,8 @@ def checkupdates_app(app):
elif mode == 'HTTP':
(version, vercode) = check_http(app)
elif mode in ('None', 'Static'):
raise MetaDataException(_('Checking disabled'))
logging.debug('Checking disabled')
return
else:
raise MetaDataException(_('Invalid UpdateCheckMode: {mode}').format(mode=mode))