mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Merge branch 'master' into verbose-rewrite
This commit is contained in:
commit
67b8825560
5 changed files with 32 additions and 29 deletions
|
|
@ -183,9 +183,9 @@ def main():
|
|||
|
||||
ctgs = {}
|
||||
for app in metaapps:
|
||||
if app['Category'] is None:
|
||||
if app['Categories'] is None:
|
||||
continue
|
||||
categories = [c.strip() for c in app['Category'].split(';')]
|
||||
categories = [c.strip() for c in app['Categories'].split(',')]
|
||||
for category in categories:
|
||||
if category in ctgs:
|
||||
ctgs[category] += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue