mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-24 04:00:28 +00:00
Fix problem where root collection crashed after previous change
This commit is contained in:
@@ -261,7 +261,7 @@ def _assemble_html(responses, resource, querydict, url):
|
||||
yield '<input type="hidden" name="restexplorerhonorkey" value="">'
|
||||
yield '<a rel="self" href="%s">%s</a><br>' % (resource, resource)
|
||||
if url == '/':
|
||||
pass
|
||||
iscollection = True
|
||||
elif resource[-1] == '/':
|
||||
iscollection = True
|
||||
yield '<a rel="collection" href="../">../</a><br>'
|
||||
|
Reference in New Issue
Block a user