mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Merge branch 'metadata-write-int' into 'master'
metadata: write values of TYPE_INT fields See merge request fdroid/fdroidserver!456
This commit is contained in:
commit
2238b5cafd
@ -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