chiark / gitweb /
Add flattr to index
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 20 May 2013 17:53:21 +0000 (19:53 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 20 May 2013 17:53:21 +0000 (19:53 +0200)
fdroidserver/update.py

index 9cd6d166beffac520ec47d87696b82879190fd96..36efc4fba2766549175324b9fa62b57478609bad 100644 (file)
@@ -475,6 +475,8 @@ def make_index(apps, apks, repodir, archive, categories):
                     addElement('donate', app['Donate'], doc, apel)
                 if app['Bitcoin'] != None:
                     addElement('bitcoin', app['Bitcoin'], doc, apel)
+                if app['FlattrID'] != None:
+                    addElement('flattr', app['FlattrID'], doc, apel)
 
                 # These elements actually refer to the current version (i.e. which
                 # one is recommended. They are historically mis-named, and need