Second version of renderSynchronously

This commit is contained in:
Sajith Sasidharan 2020-02-05 22:05:33 -05:00 committed by Sajith Sasidharan
parent 805b880c2e
commit d1f17e1019

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.