aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/process_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index 6ca2b800..20537b50 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -764,7 +764,7 @@ def swaption_trade_process(conn, session, trade):
trade["factor"] = factor
if trade["option_type"] == "RECEIVER":
trade["OptionType"] = "Call"
- elif trade["OptionType"] == "PAYER":
+ elif trade["option_type"] == "PAYER":
trade["OptionType"] = "Put"
return trade