mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-18 21:47:19 -04:00
Fix "no such package" search logic
This commit is contained in:
@@ -273,9 +273,8 @@ def read_app_args(args, allapps, allow_vercodes=False):
|
||||
apps[appid] = app
|
||||
|
||||
if len(apps) != len(vercodes):
|
||||
allids = [app["id"] for app in allapps]
|
||||
for p in vercodes:
|
||||
if p not in allids:
|
||||
if p not in allapps:
|
||||
logging.critical("No such package: %s" % p)
|
||||
raise FDroidException("Found invalid app ids in arguments")
|
||||
if not apps:
|
||||
|
||||
Reference in New Issue
Block a user