Author: tack
Date: Tue Apr 25 22:16:35 2006
New Revision: 1501

Modified:
   trunk/metadata/src/audio/eyeD3/tag.py

Log:
Don't use unicode objects for filenames


Modified: trunk/metadata/src/audio/eyeD3/tag.py
==============================================================================
--- trunk/metadata/src/audio/eyeD3/tag.py       (original)
+++ trunk/metadata/src/audio/eyeD3/tag.py       Tue Apr 25 22:16:35 2006
@@ -1831,10 +1831,7 @@
    tagSize = 0;  # This includes the padding byte count.
 
    def __init__(self, fileName):
-       if isinstance(fileName, str):
-           self.name = unicode(fileName, sys.getfilesystemencoding());
-       else:
-           self.name = fileName;
+       self.name = fileName
 
 def tagToUserTune(tag):
     audio_file = None;


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to