Remove unused variable

This commit is contained in:
Unrud 2017-06-16 23:11:22 +02:00
parent 12dbeeecb3
commit 5a0d4f7f2f

View File

@ -690,9 +690,6 @@ class Collection(BaseCollection):
# Path should already be sanitized # Path should already be sanitized
sane_path = sanitize_path(href).strip("/") sane_path = sanitize_path(href).strip("/")
attributes = sane_path.split("/")
if not attributes[0]:
attributes.pop()
filesystem_path = path_to_filesystem(folder, sane_path) filesystem_path = path_to_filesystem(folder, sane_path)
if not props: if not props: