Fix CalculateLength
This commit is contained in:
@ -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):
|
||||||
|
Reference in New Issue
Block a user