NoneType to unicode
Alan Franzoni
alan.franzoni.xyz at gmail.com
Mon Dec 12 12:02:03 EST 2005
John Morey on comp.lang.python said:
> I have tried using the encode() function to change the values to unicode
> however I cannot do this because they are returned from the id3
> library as "NoneType" instances. which means I need to convert
> to a string first (which i can't do because it crashes the application)
NoneType is just the type of None. It should mean that your ID3 library
returns 'None' when trying to read non-ascii ID3s. I think you should check
your ID3 library, not your main program.
--
Alan Franzoni <alan.franzoni.xyz at gmail.com>
-
Togli .xyz dalla mia email per contattarmi.
Rremove .xyz from my address in order to contact me.
-
GPG Key Fingerprint:
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E
More information about the Python-list
mailing list