Author: dmeyer
Date: Wed Apr 18 17:44:09 2007
New Revision: 2634
Modified:
trunk/metadata/src/core.py
Log:
make sure image is not unicode (filename)
Modified: trunk/metadata/src/core.py
==============================================================================
--- trunk/metadata/src/core.py (original)
+++ trunk/metadata/src/core.py Wed Apr 18 17:44:09 2007
@@ -198,6 +198,10 @@
value = getattr(self, key)
if value is None:
continue
+ if key == 'image':
+ if isinstance(value, unicode):
+ setattr(self, key, unicode_to_str(value))
+ continue
if isinstance(value, str):
setattr(self, key, str_to_unicode(value))
if isinstance(value, unicode):
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog