From 54fcc896b625b160cb39a7ad1e0379b078714805 Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Sat, 14 Aug 2010 14:20:13 -0500 Subject: [PATCH] Fix typo. --- projects/tasks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/tasks.py b/projects/tasks.py index ea1b54384..5b5bd7cd9 100644 --- a/projects/tasks.py +++ b/projects/tasks.py @@ -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