Show More
@@ -542,7 +542,7 b' def manifest(web, req, tmpl):' | |||||
542 | emptydirs = [] |
|
542 | emptydirs = [] | |
543 | h = dirs[d] |
|
543 | h = dirs[d] | |
544 | while isinstance(h, dict) and len(h) == 1: |
|
544 | while isinstance(h, dict) and len(h) == 1: | |
545 |
k, v = h.items() |
|
545 | k, v = next(iter(h.items())) | |
546 | if v: |
|
546 | if v: | |
547 | emptydirs.append(k) |
|
547 | emptydirs.append(k) | |
548 | h = v |
|
548 | h = v |
General Comments 0
You need to be logged in to leave comments.
Login now