if isinstance(post_data['ids'], list):
post_data['ids'] = ','.join(post_data['ids'])
In the API ids[] is an optional parameter.
Workaround: add '{ids=None, ... } ` to your dictionary when calling this method. You just need it for this parameter, the others are not checked if not present.
Well, I know this library is abandoned but just in case it is useful for somebody:
In file: https://github.com/Imgur/imgurpython/blob/48abc45a143ee9d2485c22a63b7cd55701d8163c/imgurpython/client.py In method:
update_album
you can find:In the API
ids[]
is an optional parameter.Workaround: add '{ids=None, ... } ` to your dictionary when calling this method. You just need it for this parameter, the others are not checked if not present.