Queer European MD passionate about IT
Sfoglia il codice sorgente

Moved join_path function to utilities module

Davte 1 anno fa
parent
commit
173783e154
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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))