From dccae076884cf5a6b0e7337c2007ddd624b72f36 Mon Sep 17 00:00:00 2001 From: Nintendofan885 <66736551+Nintendofan885@users.noreply.github.com> Date: Fri, 25 Mar 2022 20:04:10 +0000 Subject: [PATCH] Fix typo wikiata_help_page -> wikidata_help_page --- new_wikis_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new_wikis_handler.py b/new_wikis_handler.py index f22c128..f9f9181 100644 --- a/new_wikis_handler.py +++ b/new_wikis_handler.py @@ -176,11 +176,11 @@ class PostCreationHandler(object): def _check_wikidata(self): url = 'https://www.wikidata.org/w/api.php' - wikiata_help_page = requests.get(url, params={ + wikidata_help_page = requests.get(url, params={ 'action': 'help', 'modules': 'wbgetentities' }).text - self.add_checklist(url, 'Wikidata', self.db_name in wikiata_help_page) + self.add_checklist(url, 'Wikidata', self.db_name in wikidata_help_page) def _handle_wikidata(self): client.createSubtask(