diff --git a/convert.py b/convert.py index c097833..c0b5b35 100755 --- a/convert.py +++ b/convert.py @@ -126,7 +126,7 @@ def NeedWhiteBorder(rgb): def CalculateLength(s): - return max(map(len, s.split('\\n'))) + return max(map(len, s.split('\n'))) def ConvertType2(row, height, bottomReserved):