From c567bf8333d6cb3ab29aabf5ccba0e712c3b2005 Mon Sep 17 00:00:00 2001 From: James French Date: Tue, 3 Aug 2010 00:34:00 +0800 Subject: [PATCH] Fixed missing length parameter --- icalparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icalparse.py b/icalparse.py index 3949c3d..395283f 100755 --- a/icalparse.py +++ b/icalparse.py @@ -68,7 +68,7 @@ def lineFolder(oldcal, length=75): # Convert up to length octets to unicode, dropping any # half characters - ufold = unicode(line[0:75], 'utf-8', 'ignore') + ufold = unicode(line[0:ll], 'utf-8', 'ignore') fold = ufold.encode('utf-8') # Remove what we've converted from the line -- 2.20.1