Skip to content
Snippets Groups Projects
Commit 543027c0 authored by Lukas Juhrich's avatar Lukas Juhrich Committed by Dan Michael O. Heggø
Browse files

Add super for `image.py`

Refs #127
parent ac51994f
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import mwclient.page
class Image(mwclient.page.Page):
def __init__(self, site, name, info=None):
mwclient.page.Page.__init__(self, site, name, info,
super(Image, self).__init__(site, name, info,
extra_properties={'imageinfo': (('iiprop', 'timestamp|user|comment|url|size|sha1|metadata|archivename'), )})
self.imagerepository = self._info.get('imagerepository', '')
self.imageinfo = self._info.get('imageinfo', ({}, ))[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment