Queer European MD passionate about IT
Ver Fonte

Moved join_path function to utilities module

Davte há 1 ano atrás
pai
commit
173783e154
1 ficheiros alterados com 4 adições e 0 exclusões
  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))