Loading SimpleOCRLibrary/Other/CommonTasks.py +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ from ScriptCollection.TasksForCommonProjectStructure import TasksForCommonProjec @GeneralUtilities.check_arguments def get_data_from_submodule(codeunit_folder: str) -> None: #it is ok to do that in this script and not in UpdateDependencies.py because after updating the submodule the codeunits will bebuilded and then this will be executed anyway. And without an updated submodule this function does not cause any change. repository_folder = GeneralUtilities.resolve_relative_path("..", codeunit_folder) datasubmodule_folder = GeneralUtilities.resolve_relative_path("Other/Resources/Submodules/tessdata_best", repository_folder) tessdata_folder = GeneralUtilities.resolve_relative_path(".", datasubmodule_folder) Loading Loading
SimpleOCRLibrary/Other/CommonTasks.py +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ from ScriptCollection.TasksForCommonProjectStructure import TasksForCommonProjec @GeneralUtilities.check_arguments def get_data_from_submodule(codeunit_folder: str) -> None: #it is ok to do that in this script and not in UpdateDependencies.py because after updating the submodule the codeunits will bebuilded and then this will be executed anyway. And without an updated submodule this function does not cause any change. repository_folder = GeneralUtilities.resolve_relative_path("..", codeunit_folder) datasubmodule_folder = GeneralUtilities.resolve_relative_path("Other/Resources/Submodules/tessdata_best", repository_folder) tessdata_folder = GeneralUtilities.resolve_relative_path(".", datasubmodule_folder) Loading