Commits

Travis Shirk  committed 148fb99

Convert image desc to unicode, fix for issue #18

  • Participants
  • Parent commits 943f593
  • Branches stable

Comments (0)

Files changed (1)

File src/eyed3/plugins/classic.py

                 raise ValueError("too few parts")
 
             path, type_str = args[:2]
-            desc = args[2] if len(args) > 2 else u""
+            desc = unicode(args[2], LOCAL_ENCODING) if len(args) > 2 else u""
             mt = None
             try:
                 type_id = id3.frames.ImageFrame.stringToPicType(type_str)