From: Ciaran Gultnieks Date: Sun, 17 Nov 2013 12:16:24 +0000 (+0000) Subject: Correction to a5fafe6 X-Git-Tag: 0.1~174 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e081a83757e644bf742a4a923ad9570b338f21e4;p=fdroidserver.git Correction to a5fafe6 --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 41a1a299..10e1a91d 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -53,8 +53,9 @@ def update_wiki(apps, apks): wikidata = '' if app['Disabled']: wikidata += '{{Disabled|' + app['Disabled'] + '}}\n' - for af in app.get('AntiFeatures', []).split(','): - wikidata += '{{AntiFeature|' + af + '}}\n' + if app['AntiFeatures']: + for af in app['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'],