From 76950126b50c4e48e0cbbf3d1a47743ad01f1198 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 9 May 2020 20:42:38 +0200 Subject: [PATCH] Fediverse: Fix Python 3.4 compatibility. --- plugins/Fediverse/activitypub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Fediverse/activitypub.py b/plugins/Fediverse/activitypub.py index f394ac88f..dce7d2d14 100644 --- a/plugins/Fediverse/activitypub.py +++ b/plugins/Fediverse/activitypub.py @@ -85,11 +85,11 @@ def sandbox(f): return commands.process( f, *args, - **kwargs, timeout=10, heap_size=100 * 1024 * 1024, pn="Fediverse", - cn=f.__name__ + cn=f.__name__, + **kwargs ) except (commands.ProcessTimeoutError, MemoryError): raise web.Error(