fix bug handling alphabetic numberings below numeric numberings now
This commit is contained in:
		
							parent
							
								
									850b9db6d6
								
							
						
					
					
						commit
						d3dd29cf81
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -869,7 +869,7 @@ def unique_hierarchical_prefix_numbering(entries, start_point=0): | ||||||
|     for m in matches: |     for m in matches: | ||||||
|         pos = m.start() |         pos = m.start() | ||||||
|         if pos < start_point: |         if pos < start_point: | ||||||
|             return None |             break | ||||||
|         prefix = nname(longest_entry)[:pos] |         prefix = nname(longest_entry)[:pos] | ||||||
|         debug(f'Checking prefix {prefix}') |         debug(f'Checking prefix {prefix}') | ||||||
|         if all(nname(e).startswith(prefix) or prefix.startswith(nfc(e.stem)) for e in entries): |         if all(nname(e).startswith(prefix) or prefix.startswith(nfc(e.stem)) for e in entries): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue