From fe62d710678e9d5a88092e4a41e49728434abcb0 Mon Sep 17 00:00:00 2001 From: Nico Jensen Date: Wed, 23 Aug 2023 16:22:36 +0200 Subject: [PATCH] remove alt from data json --- PixelfedAPI.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PixelfedAPI.py b/PixelfedAPI.py index 7414578..5456b15 100644 --- a/PixelfedAPI.py +++ b/PixelfedAPI.py @@ -41,8 +41,7 @@ class PixelfedAPI: } data = { "status": ImageDescription, - "media_ids": [ImageID], - "alt": ImageAltDescription + "media_ids": [ImageID] } try: response = requests.post(apiurl, headers=headers, json=data)