Thread subject: sK1 Project :: Bug in

Posted by ralsina on 17-09-2009 12:32

First, a note: your page says to report bugs in launchpad, but launchpad says they are not your bug tracker.

Now the bug:

In load_drawing, you do this:

if type(filename) == StringType: [handle it as a filename]
else: [handle it as a file object]

The problem is that unicode strings fall in the "handle as a file object" side.

You may want to do

if type(filename) in StringTypes


Posted by igor on 19-09-2009 09:45

Wow! Thank you for patch. I will check this issue. In case of successful verification the patch will be introduced in next sK1 and UniConvertor releases.