forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-21 22:06:39 +02:00
parent 9957bcb84f
commit f393752bbd
2 changed files with 6 additions and 7 deletions

View File

@ -2,7 +2,7 @@ from PIL import Image as IImage, ImageSequence
from webptools import gifwebp
import time
def process_image(file=None, filename=None, resize=False):
def process_image(file=None, filename=None, resize=0):
i = IImage.open(file)
if not filename: filename = f'/images/{time.time()}'.replace('.','')[:-5] + '.webp'

View File

@ -460,7 +460,6 @@ def api_comment(v):
if len(c.body) > 500: notifbody = c.body[:500] + '...'
else: notifbody = c.body
if PUSHER_ID:
beams_client.publish_to_interests(
interests=[f'{request.host}{parent.author.id}'],
publish_body={