From 4684f822c090bca4abaaba226a52043ec52eafbe Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Sun, 5 Sep 2021 19:14:52 +0200 Subject: [PATCH] really nigga --- files/helpers/images.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/images.py b/files/helpers/images.py index 0eb0a5dd66..2f137691c4 100644 --- a/files/helpers/images.py +++ b/files/helpers/images.py @@ -98,6 +98,7 @@ class UploadException(Exception): def upload_video(file): file_path = path.join("temp", secure_filename(file.filename)) + file.save(file_path) headers = {"Authorization": f"Client-ID {IMGUR_KEY}"} with open(file_path, 'rb') as f: