forked from 0ad/0ad
Remove unnecessary extractors package
This simplifies the code structure, by removing the extractors package, which only contained a single module, the extractors module. This module is now located in the i18n_helper package.
This commit is contained in:
parent
20ab96a0f4
commit
f4c40b740c
@ -80,7 +80,7 @@ def generate_pot(template_settings, root_path):
|
|||||||
|
|
||||||
options = rule.get("options", {})
|
options = rule.get("options", {})
|
||||||
extractor_class = getattr(
|
extractor_class = getattr(
|
||||||
import_module("extractors.extractors"), f'{rule["extractor"].title()}Extractor'
|
import_module("i18n_helper.extractors"), f'{rule["extractor"].title()}Extractor'
|
||||||
)
|
)
|
||||||
extractor = extractor_class(input_root_path, rule["filemasks"], options)
|
extractor = extractor_class(input_root_path, rule["filemasks"], options)
|
||||||
format_flag = None
|
format_flag = None
|
||||||
|
Loading…
Reference in New Issue
Block a user