mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-12 21:22:36 +01:00
Fediverse: Fix Python 3.4 compatibility.
This commit is contained in:
parent
79f13f3051
commit
76950126b5
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user