another minor bug

This commit is contained in:
Balakrishnan Balasubramanian 2018-12-19 22:01:17 -05:00
parent ef5e6128be
commit 4823eb53e7

View File

@ -167,6 +167,7 @@ def trans_command_dele(mails: MailList, req: Request):
entry = mails.get(req.arg1)
if entry:
mails.delete(req.arg1)
write(ok("Deleted"))
else:
write(err("Not found"))