hobo_deploy: call import_template command (not import-template (#31908)

This commit is contained in:
Frédéric Péters 2019-04-02 09:15:27 +02:00
parent 0dfe3a1733
commit 2f9e3eab75
1 changed files with 2 additions and 2 deletions

View File

@ -191,5 +191,5 @@ class Command(BaseCommand):
def configure_template(self, hobo_environment, tenant):
me = [x for x in hobo_environment.get('services') if x.get('this') is True][0]
if 'import-template' in get_commands() and me.get('template_name'):
call_command('import-template', me['template_name'])
if 'import_template' in get_commands() and me.get('template_name'):
call_command('import_template', me['template_name'])