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:
Dunedan 2024-09-07 06:38:50 +02:00
parent 20ab96a0f4
commit f4c40b740c
Signed by untrusted user: Dunedan
GPG Key ID: 885B16854284E0B2
3 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def generate_pot(template_settings, root_path):
options = rule.get("options", {})
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)
format_flag = None