Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit97bc24500a7e62c34f92da2d53a36221fdd7c95d (patch)
tree54461a1fe75f1e13f6061b7c42675158e3b89df1 /sphinx/cmd
parent90dd745cea3d9c4f34db4ff9342bd0c596459469 (diff)
Fix py35 incompatibility with PosixPath
Diffstat (limited to 'sphinx/cmd')
-rw-r--r--sphinx/cmd/quickstart.py2
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']