really nigga
This commit is contained in:
parent
1ab4723d86
commit
2ec5962746
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue