mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
common_web.py: oops, add .fields to the other FakeRequest
This commit is contained in:
parent
376eab0c04
commit
6f981e4eab
@ -46,6 +46,7 @@ class WebRenderingMixin:
|
||||
# Deferred, this will throw an exception. (note that
|
||||
# page.renderString is the Deferred-returning equivalent)
|
||||
req = FakeRequest(**kwargs)
|
||||
req.fields = None
|
||||
ctx = self.make_context(req)
|
||||
return page.renderSynchronously(ctx)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user