dffd
parent
9c3bc63b90
commit
9463818bc2
|
@ -1,6 +1,5 @@
|
|||
import requests
|
||||
from os import environ
|
||||
import piexif
|
||||
from PIL import Image as IImage
|
||||
from os import remove
|
||||
import base64
|
||||
|
|
|
@ -330,7 +330,7 @@ def settings_images_profile(v):
|
|||
|
||||
imageurl = upload_file(request.files["profile"], (100, 100))
|
||||
if imageurl:
|
||||
highres = upload_file(request.files["profile"])
|
||||
highres = upload_file(request.files["profile"], (1000, 1000))
|
||||
if highres: v.highres = highres
|
||||
v.profileurl = imageurl
|
||||
g.db.add(v)
|
||||
|
|
Loading…
Reference in New Issue