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 08b945f4..22342a4b 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -260,7 +260,7 @@ def build_line(obj, queue_name='bond_trades'):
obj['InitialMarginPercentage'] = obj.pop('initial_margin_percentage')
if obj['InitialMarginPercentage']:
obj['InitialMarginCurrency'] = obj['Currency']
- if 'AttachmentPoint' not in obj:
+ if obj.get('AttachmentPoint') is None:
obj['Counterparty'], obj['ExecutingBroker'] = 'SGFCM', obj['Counterparty']
elif queue_name == 'future_trades':