Skip to content

Commit

Permalink
Adding logs and realestate.log creation in docs/conf.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasThoren committed May 29, 2015
1 parent 4d8b96e commit 083320b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))

# Custom additions
if not os.path.exists('../logs'):
os.makedirs('../logs')

f = file('../logs/elections.log', 'w')

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down

0 comments on commit 083320b

Please sign in to comment.