From: James French Date: Mon, 2 Aug 2010 16:34:00 +0000 (+0800) Subject: Fixed missing length parameter X-Git-Tag: 0.7.1 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c567bf8333d6cb3ab29aabf5ccba0e712c3b2005;p=frenchie%2Ficalparse.git Fixed missing length parameter --- 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