mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 08:51:06 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue