diff options
author | Álvaro Mondéjar <mondejar1994@gmail.com> | 2020-05-11 01:22:36 +0300 |
---|---|---|
committer | Álvaro Mondéjar <mondejar1994@gmail.com> | 2020-05-11 01:22:36 +0300 |
commit | 97bc24500a7e62c34f92da2d53a36221fdd7c95d (patch) | |
tree | 54461a1fe75f1e13f6061b7c42675158e3b89df1 /sphinx/cmd | |
parent | 90dd745cea3d9c4f34db4ff9342bd0c596459469 (diff) |
Fix py35 incompatibility with PosixPath
Diffstat (limited to 'sphinx/cmd')
-rw-r--r-- | sphinx/cmd/quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 626d07c66..72434c18b 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -358,7 +358,7 @@ def generate(d: Dict, overwrite: bool = True, silent: bool = False, templatedir: d.setdefault('extensions', []) d['copyright'] = time.strftime('%Y') + ', ' + d['author'] - d["path"] = pathlib.Path(d['path']).resolve() + d["path"] = str(pathlib.Path(d['path']).resolve()) ensuredir(d['path']) srcdir = path.join(d['path'], 'source') if d['sep'] else d['path'] |