Unverified Commit 7d92cc32 authored by Marius Göcke's avatar Marius Göcke
Browse files

added comment

parent 80100f66
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)