Skip to content

Commit e62f25d

Browse files
author
Fatih Aşıcı
committed
pff stupid os.path.join
1 parent a69dc6c commit e62f25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def run(self):
1616
if not self.root:
1717
self.root = "/"
1818

19-
target = os.path.join(self.root, consts.config_dir)
19+
target = os.path.join(self.root, consts.config_dir.lstrip("/"))
2020
if not os.path.exists(target):
2121
os.makedirs(target, 0755)
2222

0 commit comments

Comments
 (0)