From 99966991885fb80e45a76f3d80fbe15ded1028ca Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Sun, 5 Sep 2021 19:22:18 +0200 Subject: [PATCH] jdijefjoirw --- files/helpers/images.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/images.py b/files/helpers/images.py index dd867d03da..c228d3000b 100644 --- a/files/helpers/images.py +++ b/files/helpers/images.py @@ -104,7 +104,8 @@ def upload_video(file): with open(file_path, 'rb') as f: try: r = requests.post('https://api.imgur.com/3/upload', headers=headers, files=[], data={"video": f}) - r.raise_for_status() + print(r.text) + #r.raise_for_status() resp = r.json()['data'] except requests.HTTPError as e: