Queer European MD passionate about IT
Просмотр исходного кода

Moved join_path function to utilities module

Davte 1 год назад
Родитель
Сommit
173783e154
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      davtelepot/utilities.py

+ 4 - 0
davtelepot/utilities.py

@@ -1738,3 +1738,7 @@ async def aio_subprocess_shell(command: str) -> Tuple[str, str]:
             )
         )
     return stdout, stderr
+
+
+def join_path(*args):
+    return os.path.abspath(os.path.join(*args))