1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Fix wiki formatting when we have the current version

This commit is contained in:
Ciaran Gultnieks 2012-09-14 23:15:28 +01:00
parent 77e5359706
commit 813823b6a9

View File

@ -96,6 +96,8 @@ def update_wiki(apps, apks, verbose=False):
wikidata += "We currently have no versions of this app available."
elif not gotcurrentver:
wikidata += "We don't have the current version of this app."
else:
wikidata += "We have the current version of this app."
wikidata += " (Check mode: " + app['Update Check Mode'] + ")\n\n"
if len(app['Current Version']) > 0:
wikidata += "The current (recommended) version is " + app['Current Version']