diff --git a/kuma/scrape/management/commands/scrape_document.py b/kuma/scrape/management/commands/scrape_document.py index 2e2a42ae8a7..7245b9015da 100644 --- a/kuma/scrape/management/commands/scrape_document.py +++ b/kuma/scrape/management/commands/scrape_document.py @@ -29,7 +29,7 @@ def add_arguments(self, parser): ' ("all" for all)')) def handle(self, *arg, **options): - self.setup_logging(options.get('verbosity')) + self.setup_logging(options['verbosity']) host, ssl, path = self.parse_url_or_path(options['url']) scraper = self.make_scraper(host=host, ssl=ssl)