wcs: initialize publisher language and substitution variables (#60908)
This commit is contained in:
parent
371e1cfa1e
commit
1a346a91f8
|
@ -28,6 +28,8 @@ 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()
|
||||
self.import_datasources()
|
||||
|
|
Loading…
Reference in New Issue