Fix CalculateLength
This commit is contained in:
		
							parent
							
								
									e02cfae5ad
								
							
						
					
					
						commit
						0e90c64f5d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -126,7 +126,7 @@ def NeedWhiteBorder(rgb):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def CalculateLength(s):
 | 
					def CalculateLength(s):
 | 
				
			||||||
    return max(map(len, s.split('\\n')))
 | 
					    return max(map(len, s.split('\n')))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def ConvertType2(row, height, bottomReserved):
 | 
					def ConvertType2(row, height, bottomReserved):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue