mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-27 14:43:04 -04:00
Translate 'Category:categ1;categ2;...' into 'Categories:categ1,categ2,...'
This commit is contained in:
1 parent
3f673654bd
commit
f1526faa47
1 file changed
+2
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user