Queer European MD passionate about IT
Explorar o código

Moved join_path function to utilities module

Davte hai 1 ano
pai
achega
173783e154
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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))