Fix typo.
parent
26bc7400f3
commit
54fcc896b6
|
@ -80,13 +80,13 @@ def update_created_docs(project):
|
|||
path = self.user_doc_path
|
||||
|
||||
doc_root = os.path.join(path, project.slug, 'docs')
|
||||
|
||||
if not os.path.exists(doc_root)
|
||||
|
||||
if not os.path.exists(doc_root):
|
||||
os.makedirs(doc_root)
|
||||
|
||||
|
||||
project.conf.path = doc_root
|
||||
project.conf.save()
|
||||
|
||||
|
||||
project.write_index()
|
||||
|
||||
# TODO: make this more flexible
|
||||
|
|
Loading…
Reference in New Issue