another tweak

This commit is contained in:
SimonGreenhill 2016-08-12 19:07:41 +12:00
parent 08fbd996a6
commit 8705c763be

View file

@ -70,9 +70,9 @@ class Command(BaseCommand):
"""Runs the management command."""
activate(settings.LANGUAGE_CODE)
verbosity = int(options.get("verbosity", 1))
# see if we're asked to use a specific search engine
if options['engine']:
if options.get('engine'):
engine_slug = options['engine']
engine_selected = True
else: