From a5fafe6c057fdc06d7327634fff3219af11ef078 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sun, 17 Nov 2013 12:05:02 +0000 Subject: [PATCH] Use individual antifeature template on wiki --- fdroidserver/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 30c77c4a..41a1a299 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -53,8 +53,8 @@ def update_wiki(apps, apks): wikidata = '' if app['Disabled']: wikidata += '{{Disabled|' + app['Disabled'] + '}}\n' - if app['AntiFeatures']: - wikidata += '{{AntiFeatures|' + app['AntiFeatures'] + '}}\n' + for af in app.get('AntiFeatures', []).split(','): + wikidata += '{{AntiFeature|' + af + '}}\n' wikidata += '{{App|id=%s|name=%s|added=%s|lastupdated=%s|source=%s|tracker=%s|web=%s|donate=%s|flattr=%s|bitcoin=%s|litecoin=%s|license=%s|root=%s}}\n'%( app['id'], app['Name'],