From 0f52521be203932bff874f609c5626496b94ab49 Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Thu, 19 Jan 2023 14:02:06 +0100 Subject: [PATCH] Remove source path from extract tool creation. This can be derived from "self" that is being passed in. CURA-9814 --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 38e9cdce21..74c25fd2e2 100644 --- a/conanfile.py +++ b/conanfile.py @@ -327,7 +327,7 @@ class CuraConan(ConanFile): if self.settings.os != "Windows" or self.conf.get("tools.microsoft.bash:path", check_type = str): # FIXME: once m4, autoconf, automake are Conan V2 ready use self.win_bash and add gettext as base tool_requirement # Extract all the new strings and update the existing po files - extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self, self.source_path, self.source_path.joinpath("resources", "i18n"), "cura.pot") + extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self, self.source_path.joinpath("resources", "i18n"), "cura.pot") extractTool.generate() def imports(self):