wikipedia bot: Fix page-not-found error.

This commit is contained in:
Ivche1337 2017-12-09 00:49:22 +01:00 committed by showell
parent ab9128d939
commit 2597de87ef

View file

@ -51,7 +51,7 @@ class WikipediaHandler(object):
return return
if data.status_code != 200: if data.status_code != 200:
logging.error('unsuccessful data') logging.error('Page not found.')
return return
new_content = 'For search term "' + query new_content = 'For search term "' + query