aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/position_file_bowdst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/position_file_bowdst.py b/python/position_file_bowdst.py
index 3930389d..af104ace 100644
--- a/python/position_file_bowdst.py
+++ b/python/position_file_bowdst.py
@@ -27,7 +27,7 @@ def process_upload(positions, upload):
dest.write_bytes(buf)
attachments.append(FileAttachment(name=fname, content=buf))
- if args.upload:
+ if upload:
em = ExchangeMessage()
recipients = (
"hm-operations@bnymellon.com",