mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Translate 'Category:categ1;categ2;...' into 'Categories:categ1,categ2,...'
This commit is contained in:
parent
3f673654bd
commit
f1526faa47
1 changed files with 2 additions and 0 deletions
|
@ -641,6 +641,8 @@ def parse_metadata(metafile, verbose=False):
|
|||
if len(value) > 0:
|
||||
raise MetaDataException("Unexpected text on same line as " + field + " in " + metafile.name)
|
||||
elif fieldtype == 'string':
|
||||
if field == 'Category' and thisinfo['Categories'] == 'None':
|
||||
thisinfo['Categories'] = value.replace(';',',')
|
||||
thisinfo[field] = value
|
||||
elif fieldtype == 'flag':
|
||||
if value == 'Yes':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue