Get the path separator right on windows.

It used to use: C:\Users\sforman/.joypy

which worked, but ew.
This commit is contained in:
Simon Forman 2019-08-02 18:30:43 -07:00
parent c1442945a6
commit 6a94c12b9b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from dulwich.repo import Repo
COMMITTER = 'Joy <auto-commit@example.com>'
DEFAULT_JOY_HOME = '~/.joypy'
DEFAULT_JOY_HOME = expanduser(join('~', '.joypy'))
def home_dir(path):