summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/hacks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cerbero/hacks.py b/cerbero/hacks.py
index 549649bf..11c40aad 100644
--- a/cerbero/hacks.py
+++ b/cerbero/hacks.py
@@ -18,6 +18,7 @@
import os
import sys
+import pathlib
### XML Hacks ###
@@ -64,7 +65,7 @@ oldrealpath = os.path.realpath
def join(*args):
- return '/'.join(args)
+ return pathlib.PurePath(oldjoin(*args)).as_posix()
def expanduser(path):