aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/mbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/mbox.py b/b4/mbox.py
index a4b005f..bf1a586 100644
--- a/b4/mbox.py
+++ b/b4/mbox.py
@@ -572,7 +572,7 @@ def get_msgs(cmdargs) -> Tuple[Optional[str], Optional[list]]:
if msgid:
msgs = b4.get_strict_thread(in_mbx, msgid)
- if not len(msgs):
+ if not msgs:
logger.critical('Could not find %s in %s', msgid, cmdargs.localmbox)
sys.exit(1)
else: