You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 107 in wordpress.py says: 'thumbnail': "post_thumbnail"
And the example in the documentation says: "post.post_thumbnail = attachment_id"
Changing to "post.thumbnail = attachment_id" worked like charm!
Also found a typo in this line on the same documentation page: "data['bits'] = xmlrpc_clent.Binary(img.read())"
It should be "client" instead of "clent"
Thank you for making this! It's making my life so much easier!
I've followed the code at the link below and the post thumbnail is not set...
http://python-wordpress-xmlrpc.readthedocs.org/en/latest/examples/media.html#
The image is uploaded and post is created but no link is made in between them.
Using latest wp from the nightly builds.
Any idea what am I doing wrong?
The text was updated successfully, but these errors were encountered: