From 602cf30c1ee48365442fb51975f8e1e05c55013e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 7 Oct 2020 18:40:03 +0200 Subject: [PATCH] update: fix bug where only last appid was added to antiFeatures status appid will never be present in `antiFeatures[af]`, so the entry was being reinitalized each time. --- fdroidserver/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 6ffb0973..1708700a 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -149,7 +149,7 @@ def status_update_json(apps, apks): antiFeatures = output['antiFeatures'] # JSON camelCase if af not in antiFeatures: antiFeatures[af] = dict() - if appid not in antiFeatures[af]: + if 'apps' not in antiFeatures[af]: antiFeatures[af]['apps'] = set() antiFeatures[af]['apps'].add(appid)