From 5b92820ff3414a514f17ab2e118916e6645d43ff Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 17 Jan 2018 15:22:48 +0100 Subject: [PATCH] wiki: fix bug updating Repository Maintenance site.pages doesn't seem to exist anywhere, site.Pages is used throughout. --- fdroidserver/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 60fedfee..b8a40095 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -321,7 +321,7 @@ def update_wiki(apps, sortedids, apks): logging.error("...FAILED to create page '{0}': {1}".format(pagename, e)) # Purge server cache to ensure counts are up to date - site.pages['Repository Maintenance'].purge() + site.Pages['Repository Maintenance'].purge() def delete_disabled_builds(apps, apkcache, repodirs):