File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def run():
2424 a = docopt .docopt (__doc__ )
2525
2626 vi_mode = bool (a ['--vi' ])
27- config_dir = os .path .expanduser (a ['--config-dir' ] or '~/ .ptpython/ ' )
27+ config_dir = os .path .expanduser (a ['--config-dir' ] or os . path . join ( '~' , ' .ptpython' )
2828
2929 # Create config directory.
3030 if not os .path .isdir (config_dir ) or not os .path .islink (config_dir ):
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def run():
2929 a = docopt .docopt (__doc__ )
3030
3131 vi_mode = bool (a ['--vi' ])
32- config_dir = os .path .expanduser (a ['--config-dir' ] or '~/ .ptpython/' )
32+ config_dir = os .path .expanduser (a ['--config-dir' ] or os . path . join ( '~' , ' .ptpython' ) )
3333
3434 # Create config directory.
3535 if not os .path .isdir (config_dir ) or not os .path .islink (config_dir ):
You can’t perform that action at this time.
0 commit comments