1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

import: ensure categories from CLI flag are always a list

categories must always be a list in YAML  closes #472
This commit is contained in:
Hans-Christoph Steiner 2018-10-11 11:59:42 +02:00
parent bfdf581201
commit 1d13bbf6b6

View File

@ -292,7 +292,7 @@ def main():
if options.license:
app.License = options.license
if options.categories:
app.Categories = options.categories
app.Categories = options.categories.split(',')
if os.path.exists(os.path.join(root_dir, 'jni')):
build.buildjni = ['yes']
if os.path.exists(os.path.join(root_dir, 'build.gradle')):