aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Dawn/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index 900ca2ea..7be9ff1f 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -369,7 +369,7 @@ def trade_manage(tradeid, kind):
trade.account_code = 'BAC'
trade.cashaccount = trade.fcm_account.cash_account
session.commit()
- if form.upload_globeop.data and form.fund == "SERCGMAST":
+ if form.upload_globeop.data and form.fund.data == "SERCGMAST":
if kind == "bond":
buf = simple_serialize(trade, upload=True)
else: