wikipedia bot: Fix page-not-found error.
This commit is contained in:
parent
ab9128d939
commit
2597de87ef
|
@ -51,7 +51,7 @@ class WikipediaHandler(object):
|
|||
return
|
||||
|
||||
if data.status_code != 200:
|
||||
logging.error('unsuccessful data')
|
||||
logging.error('Page not found.')
|
||||
return
|
||||
|
||||
new_content = 'For search term "' + query
|
||||
|
|
Loading…
Reference in a new issue