aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/views.py')
-rw-r--r--python/Dawn/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index dc2e2c25..2d1d55d8 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -192,9 +192,9 @@ def trade_manage(tradeid, kind):
return render_template('trade_entry.html', form=form,
action_url = url_for('trade_manage', tradeid=tradeid, kind=kind))
-@app.route('/', defaults = {'kind': 'bond'})
+@app.route('/', defaults={'kind': 'bond'})
@app.route('/blotter/<kind>')
-@app.route('/blotter/', defaults = {'kind': 'bond'})
+@app.route('/blotter/', defaults={'kind': 'bond'})
def list_trades(kind):
Deal = get_deal(kind)
trade_list = Deal.query.order_by(Deal.trade_date.desc(), Deal.id.desc())