From 4d56c6c2625f1028bcf15b6328b1f78114744167 Mon Sep 17 00:00:00 2001 From: relan Date: Tue, 6 Feb 2018 12:27:34 +0300 Subject: [PATCH] metadata: write values of TYPE_INT fields Otherwise we end up with empty values after "fdroid rewritemeta". --- fdroidserver/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/metadata.py b/fdroidserver/metadata.py index 80c49a8d..380a3dd8 100644 --- a/fdroidserver/metadata.py +++ b/fdroidserver/metadata.py @@ -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')