diff options
author | luxagraf <sng@luxagraf.net> | 2011-05-10 21:00:18 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-05-10 21:00:18 -0400 |
commit | bb80187bb3dc8807cad92e93c9bb9355de794438 (patch) | |
tree | 31bcbd319369348ed2cfacbb1c6db0e938e558c0 /apps | |
parent | da45f4a0e60f7f1fa4be77b3714600abea180f92 (diff) | |
parent | 8ca8eb2a159840cb4900328521716808fb1db761 (diff) |
Merge branch 'master' of http://git.luxagraf.net/luxagraf
Diffstat (limited to 'apps')
-rw-r--r-- | apps/build/base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/build/base.py b/apps/build/base.py index afcc8f8..f6df69d 100644 --- a/apps/build/base.py +++ b/apps/build/base.py @@ -172,7 +172,10 @@ class BuildContact(Build): def build(self): c = Client() response = c.get('/contact/') - fpath = '%scontact/index.html' %(settings.BAKED_ROOT) + path = '%scontact/' %(settings.BAKED_ROOT) + if not os.path.isdir(path): + os.makedirs(path) + fpath = '%sindex.html' %(path) self.write_file(fpath,str(response.content)) class BuildProjects(Build): |