mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
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.
This commit is contained in:
parent
05cd8c6810
commit
602cf30c1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue