Skip to content

Commit 19a0cfa

Browse files
authored
Update ws_api/wealthsimple_api.py
1 parent 27c538b commit 19a0cfa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

ws_api/wealthsimple_api.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,6 @@ def _activity_add_description(self, act):
556556
act['description'] = f"Money transfer: {direction} Wealthsimple {account_description}"
557557

558558
elif act['type'] in ['DIY_BUY', 'DIY_SELL', 'MANAGED_BUY', 'MANAGED_SELL']:
559-
# subType is None in some cases, so we can't rely on it up front.
560-
# This could be the case for MANAGED actions, so we handle that separately.
561-
verb = ''
562559
if 'MANAGED' in act['type']:
563560
verb = "Managed transaction"
564561
else:

0 commit comments

Comments
 (0)