Skip to content

Commit

Permalink
Merge pull request #43 from tommodore/master
Browse files Browse the repository at this point in the history
Update wsgi.py.erb
  • Loading branch information
nibalizer committed Jun 23, 2014
2 parents 99927a3 + dbfa184 commit 871153f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/wsgi.py.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from __future__ import absolute_import

import os
import sys

os.environ['PUPPETBOARD_SETTINGS'] = '<%= @basedir %>/puppetboard/settings.py'
activate_this = '<%= @basedir %>/virtenv-puppetboard/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))

import os
import sys

me = os.path.dirname(os.path.abspath(__file__))
# Add us to the PYTHONPATH/sys.path if we're not on it
if not me in sys.path:
Expand Down

0 comments on commit 871153f

Please sign in to comment.