lava-lake
lava-lake
 判断条件溢出了
我也碰上了,这段逻辑有问题 if r.status_code == 200: media_url = f"{BASE_URL}o/r/{r.json()['data']['id']}/telegram-download.jpg" markdown_photo_preview_text = "\n" data = {"content": markdown_photo_preview_text} r = requests.post(API_BASE_URL + "memo?openId=" + OPENID, json=data) update.message.reply_text(f'Uploaded 1 photos....
现在出错信息变成 - tgmemobot | 2023-04-29 17:25:51,676 - root - ERROR - Error: expected string or bytes-like object, got 'NoneType' in send_photo_memo