Skip to content

Commit

Permalink
Fix rvslots handling (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Nov 22, 2018
1 parent 5efebfa commit b448e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwclient/page.py
Expand Up @@ -161,7 +161,7 @@ def text(self, section=None, expandtemplates=False, cache=True, slot='main'):
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']
Expand Down

0 comments on commit b448e5a

Please sign in to comment.