mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-03-16 22:00:22 +00:00
another tweak
This commit is contained in:
parent
08fbd996a6
commit
8705c763be
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue