Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Nov 9, 2023
1 parent c05bfbd commit e2b205f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikitools3/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e2b205f

Please sign in to comment.