mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-07 18:01:06 +03:00
Fix regression introduced in 2831b3e93
An empty list of antifeatures should not be written.
This commit is contained in:
parent
f70d74e3e8
commit
de1c599127
1 changed files with 2 additions and 1 deletions
|
@ -1047,6 +1047,7 @@ def write_metadata(dest, app):
|
|||
|
||||
mf = open(dest, 'w')
|
||||
writefield_nonempty('Disabled')
|
||||
if app['AntiFeatures']:
|
||||
writefield('AntiFeatures')
|
||||
writefield_nonempty('Provides')
|
||||
writefield('Categories')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue