diff --git a/wikitools3/page.py b/wikitools3/page.py index f5bdc8e..138480b 100644 --- a/wikitools3/page.py +++ b/wikitools3/page.py @@ -185,7 +185,7 @@ def setPageInfo(self): self.unprefixedtitle = self.title.split(":", 1)[1] else: self.unprefixedtitle = self.title - self.pageid = int(self.pageid) + self.pageid = self.pageid self.pageid = max(self.pageid, 0) return self