forked from rDrama/rDrama
1
0
Fork 0

really nigga

master
fireworks88 2021-09-05 19:14:52 +02:00
parent 564b0096c1
commit 4684f822c0
1 changed files with 1 additions and 0 deletions

View File

@ -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: