[reportlab-users] A jerkwater bug in 'reportlab/platypus/paragraph.py'

张昆张昆 time_song at hotmail.com
Tue Jun 17 23:23:48 EDT 2008


Hello everybody

Thanks for this greateful project. Today i find a jerkwater bug in paragraph.py.

Line 412-413:

if type(link) is unicode: link = unicode.encode('utf8')

I think it should like below, but i'm incertitude:

if type(link) is str: link = link.encode('utf8')

Thanks and best regards,
Timesong
_________________________________________________________________
新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜!
http://im.live.cn/emoticons/?ID=18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080618/f4d24bf6/attachment.htm>


More information about the reportlab-users mailing list