From 31e860586464cf89053f3e933730e9e964d7ebb6 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sun, 8 Apr 2018 09:37:48 +0100 Subject: [PATCH] Replace deprecated mwclient method It's functionally the same, just a different name. --- fdroidserver/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 83f069fa..4c865d71 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -302,7 +302,7 @@ def update_wiki(apps, sortedids, apks): for page in catpages: existingpages.append(page.name) if page.name in genp: - pagetxt = page.edit() + pagetxt = page.text() if pagetxt != genp[page.name]: logging.debug("Updating modified page " + page.name) page.save(genp[page.name], summary='Auto-updated')