mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-17 09:27:23 +02:00
Web: fix syntax.
This commit is contained in:
parent
eaf9e40dc2
commit
bc19a9fc7f
@ -102,7 +102,7 @@ def fetch_sandbox(f):
|
|||||||
replies = commands.process(process, self, irc, *args,
|
replies = commands.process(process, self, irc, *args,
|
||||||
timeout=10, heap_size=10*1024*1024,
|
timeout=10, heap_size=10*1024*1024,
|
||||||
pn=self.name(), cn=f.__name__)
|
pn=self.name(), cn=f.__name__)
|
||||||
except commands.ProcessTimeoutError, MemoryError:
|
except (commands.ProcessTimeoutError, MemoryError):
|
||||||
raise utils.web.Error(_('Page is too big or the server took '
|
raise utils.web.Error(_('Page is too big or the server took '
|
||||||
'too much time to answer the request.'))
|
'too much time to answer the request.'))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user