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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue