fixed issue with signoff detection
This commit is contained in:
parent
5d978102c3
commit
f75f0bfe83
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue