diff --git a/tir/main.py b/tir/main.py index 19b9a892d..7dd08d623 100644 --- a/tir/main.py +++ b/tir/main.py @@ -1,3 +1,5 @@ +import os + from tir.technologies.webapp_internal import WebappInternal from tir.technologies.apw_internal import ApwInternal from tir.technologies.poui_internal import PouiInternal @@ -1471,6 +1473,23 @@ def SetCalendar(self, day='', month='', year=''): """ return self.__webapp.SetCalendar(day, month, year) + def ReplaceSlash(self, path): + """ + + :param path: Path that will be normalized depending on operating system(Windows, Linux). + :type path: str + :return: Returns the path with the correct slash according to the OS + """ + return self.__webapp.replace_slash(path) + + def CurrentWorkDirectory(self): + + """ + + :return: Returns the current working directory + """ + + return os.chmod() class Apw():