fadafs
This commit is contained in:
parent
9f0dd972c8
commit
dfbd2fe121
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ def api_comment(v):
|
|||
if request.files.get("file") and request.headers.get("cf-ipcountry") != "T1":
|
||||
file=request.files["file"]
|
||||
if file.content_type.startswith('image/'):
|
||||
body += f"\n\n})"
|
||||
file = process_image(file)
|
||||
body += f"\n\n"
|
||||
if v.admin_level == 3:
|
||||
if parent_post.id == 37696:
|
||||
filename = 'files/assets/images/Drama/sidebar/' + str(len(listdir('files/assets/images/Drama/sidebar'))+1) + '.webp'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue