Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugs that weren't noticed for a long time.

  • Loading branch information...
commit ce663cd2ed303cc662e7c19ce1013a9ef62edfb4 1 parent 41737fc
@jace jace authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  README.rst
  2. +3 −1 website.py
View
2  README.rst
@@ -26,7 +26,7 @@ setup the Python environment::
mkdir -p ~/python/lib/python2.5/site-packages
PYTHONPATH=~/python/lib/python2.5/site-packages easy_install --prefix ~/python virtualenv
- PYTHONPATH=~/python/lib/python2.5/site-packages bin/virtualenv ~/python/env --no-site-packages
+ PYTHONPATH=~/python/lib/python2.5/site-packages ~/python/bin/virtualenv ~/python/env --no-site-packages
source ~/python/env/bin/activate
easy_install Flask Flask-SQLAlchemy Flask-WTF Flask-Mail simplejson pytz mysql-python greatape Markdown pygooglechart
View
4 website.py
@@ -28,7 +28,7 @@
app = Flask(__name__)
db = SQLAlchemy(app)
-mail = Mail(app)
+mail = Mail()
# ---------------------------------------------------------------------------
# Static data
@@ -871,6 +871,8 @@ def addmailchimp(mc, p):
print >> sys.stderr, "Please create a settings.py with the necessary settings. See settings-sample.py."
print >> sys.stderr, "You may use the site without these settings, but some features may not work."
+# Initialize mail settings
+mail.init_app(app)
# Create database table
db.create_all()

0 comments on commit ce663cd

Please sign in to comment.
Something went wrong with that request. Please try again.