Skip to content

Commit

Permalink
Merge pull request NikolajDanger#2 from guissmo/patch-1
Browse files Browse the repository at this point in the history
Update FandomPage.py
  • Loading branch information
NikolajDanger authored Aug 4, 2021
2 parents ec6bba8 + cba8431 commit d3da519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fandom/FandomPage.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __load(self, redirect=True, preload=False):
self.title = query['title']
lang = query_params['lang']
self.url = STANDARD_URL.format(lang=lang, wiki=self.wiki,
page=self.title.replace(" ","_"))
page=self.title.replace(" ","_").replace("?","%3F"))

def __continued_query(self, query_params):
"""
Expand Down Expand Up @@ -400,4 +400,4 @@ def plain_text(self):
if not getattr(self, '_plain_text', False):
self._plain_text = self.section(self.title)

return self._plain_text
return self._plain_text

0 comments on commit d3da519

Please sign in to comment.