mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Translate 'Category:categ1;categ2;...' into 'Categories:categ1,categ2,...'
This commit is contained in:
parent
3f673654bd
commit
f1526faa47
@ -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…
Reference in New Issue
Block a user