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:
parent
bc5bf7e0ec
commit
4d56c6c262
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user