mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01: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,
|
||||
timeout=10, heap_size=10*1024*1024,
|
||||
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 '
|
||||
'too much time to answer the request.'))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user