aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index ae01555..76e97f6 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -1148,7 +1148,7 @@ class LoreMessage:
# Git doesn't think there's a patch there
return
fline = out.split('\n')[0]
- if len(fline) < 40:
+ if len(fline) >= 40:
self.git_patch_id = fline[:40]
msg_out = mkstemp()