*** MetaWeblog.py.orig 2006-07-06 03:44:06.000000000 +0900 --- MetaWeblog.py 2006-07-06 03:44:19.000000000 +0900 *************** *** 67,73 **** content = {} content['name'] = file_name content['type'] = mime_type ! content['bits'] = base64.encodestring(file_contents) imageurl = None --- 69,77 ---- content = {} content['name'] = file_name content['type'] = mime_type ! image64 = xmlrpclib.Binary() ! image64.data = file_contents ! content['bits'] = image64 imageurl = None