Fix multiuser plugin compatibility

This commit is contained in:
shortcutme 2017-09-02 14:28:01 +02:00
parent b584c586ec
commit bfd3d18a10
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -282,7 +282,7 @@ class UiRequest(object):
return False
self.sendHeader(extra_headers=extra_headers[:])
return [self.renderWrapper(site, path, inner_path, title, extra_headers)]
return iter([self.renderWrapper(site, path, inner_path, title, extra_headers)])
# Make response be sent at once (see https://github.com/HelloZeroNet/ZeroNet/issues/1092)
else: # Bad url