Skip to content

Commit c4224d0

Browse files
committed
remove opt if it was cancelled
1 parent b969581 commit c4224d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openleadr/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ async def cancel_opt(self, opt_id):
674674

675675
if 'opt_id' in response_payload:
676676
# VTN acknowledged the opt cancelation
677+
self.opts.remove(opt)
677678
return True
678679

679680
###########################################################################

0 commit comments

Comments
 (0)