From b448e5a237ab57d732ef8dd307e3a43ea225d06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= <danmichaelo@gmail.com> Date: Thu, 22 Nov 2018 22:18:17 +0100 Subject: [PATCH] Fix rvslots handling (#199) --- mwclient/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mwclient/page.py b/mwclient/page.py index beac1c3..8b727b8 100644 --- a/mwclient/page.py +++ b/mwclient/page.py @@ -161,7 +161,7 @@ class Page(object): try: rev = next(revs) if 'slots' in rev: - text = rev['slots'][slot] + text = rev['slots'][slot]['*'] else: text = rev['*'] self.last_rev_time = rev['timestamp'] -- GitLab