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
{{ message }}
This repository was archived by the owner on Aug 8, 2025. It is now read-only.
oauth_param in that context is taken from OPTIONAL_OAUTH_PARAMS and has type 'str'.
data is the image I'm uploading and has type 'bytes'.
Checking for a string in bytes produces an exception in python3.7:
File "/home/marek/anaconda3/envs/smuploader/lib/python3.7/site-packages/rauth/session.py", line 228, in _parse_optional_params
if oauth_param in data:
TypeError: a bytes-like object is required, not 'str'