1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

metadata: write values of TYPE_INT fields

Otherwise we end up with empty values after "fdroid rewritemeta".
This commit is contained in:
relan 2018-02-06 12:27:34 +03:00
parent bc5bf7e0ec
commit 4d56c6c262

View File

@ -1521,7 +1521,7 @@ def write_txt(mf, app):
if f == 'androidupdate':
f = 'update' # avoid conflicting with Build(dict).update()
mf.write(' %s=' % f)
if t == TYPE_STRING:
if t == TYPE_STRING or t == TYPE_INT:
mf.write(v)
elif t == TYPE_BOOL:
mf.write('yes')