remove initialization of i18n as it requires a real management command (#61309)

This commit is contained in:
Frédéric Péters 2022-02-01 15:54:54 +01:00
parent 4e3e05edaa
commit 6690944e54
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ class Cmd(Command):
publisher.WcsPublisher.configure(self.config)
publisher = publisher.WcsPublisher.create_publisher(register_tld_names=False)
publisher.set_tenant_by_hostname(sub_options.domain)
publisher.install_lang()
publisher.substitutions.feed(publisher)
self.directory = args[0]
self.import_categories()