From a3d9fd40a13e8638b075fc8e4d7c32666e9f0023 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Sep 2021 01:28:57 +0200 Subject: [PATCH] fds --- files/routes/posts.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 58546c9a99..efec251bf1 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -951,10 +951,7 @@ def submit_post(v): if (new_post.url or request.files.get('file')) and (v.is_activated or request.headers.get('cf-ipcountry')!="T1"): - gevent.spawn( - thumbnail_thread, - new_post.id - ) + gevent.spawn( thumbnail_thread, new_post.id) notify_users = set()