Second version of renderSynchronously

This commit is contained in:
Sajith Sasidharan 2020-02-05 22:05:33 -05:00
parent d3790a4d42
commit c019c7e955

View File

@ -310,7 +310,7 @@ class StorageStatus(MultiFormatResource):
elem = StorageStatusElement(self.storage, self.nickname)
result = []
flattenString(None, elem).addCallback(result.append)
return result
return result[0]
def renderHTTP(self, ctx=None):
# to appease the test suite.