summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-07-18 08:55:46 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-07-26 10:32:39 -0700
commitb19d58f556932eec92e3cf27f6c018791415367d (patch)
tree26afda5b6eef6eb7d42450fa77b57848a19a32ea /alot/ui.py
parent6ad6cbf33fe203e504c8623631746068850ee16f (diff)
commands/envelope: check that self.envelope is not None
If the mail is passed a string then envelope will always be None. There is one case in the final callback where self.envelope is assumed set, but it isn't guaranteed to be, so guard that properly.
Diffstat (limited to 'alot/ui.py')
0 files changed, 0 insertions, 0 deletions