Skip to content

Commit 71f859e

Browse files
committed
Don't hardcode path separator in GLOBAL_CONFIG calculation
1 parent e4e3634 commit 71f859e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp_black/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
elif "XDG_CONFIG_HOME" in os.environ:
1616
GLOBAL_CONFIG = Path(os.environ["XDG_CONFIG_HOME"]) / "black"
1717
else:
18-
GLOBAL_CONFIG = Path.home() / ".config/black"
18+
GLOBAL_CONFIG = Path.home() / ".config" / "black"
1919

2020

2121
@hookimpl(tryfirst=True)

0 commit comments

Comments
 (0)