fixed issue with signoff detection

This commit is contained in:
Daniel Fichtinger 2025-06-27 21:05:08 -04:00
parent 5d978102c3
commit f75f0bfe83
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ def main() -> None:
if not signoff_cache and 1 <= n <= 5 and line[-1] == ",":
return True
# second potential line
elif signoff_cache and 1 <= n <= 5 and line[-1].isalpha():
elif signoff_cache and 1 <= n <= 5:
for w in words:
if not w[0].isupper():
return False

View file

@ -1,6 +1,6 @@
[project]
name = "mailfmt"
version = "1.0.1"
version = "1.0.2"
description = "Heuristic plain text email formatter."
readme = "README.md"
authors = [