Fix CalculateLength
This commit is contained in:
parent
e02cfae5ad
commit
0e90c64f5d
@ -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…
Reference in New Issue
Block a user