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 6, 2023
1 parent 36d9610 commit 125f8d8
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 125f8d8

Please sign in to comment.