fix bug handling alphabetic numberings below numeric numberings now

main
xenofem 2024-04-23 21:43:47 -04:00
parent 850b9db6d6
commit d3dd29cf81
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ def unique_hierarchical_prefix_numbering(entries, start_point=0):
for m in matches:
pos = m.start()
if pos < start_point:
return None
break
prefix = nname(longest_entry)[:pos]
debug(f'Checking prefix {prefix}')
if all(nname(e).startswith(prefix) or prefix.startswith(nfc(e.stem)) for e in entries):