mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 08:57:09 +08:00
Update tests/test_bluray.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent
b9b7b00a7f
commit
2211f8d9e4
@@ -27,7 +27,7 @@ class BluRayTest(TestCase):
|
|||||||
)
|
)
|
||||||
self.__all = {self.__root.path: self.__root}
|
self.__all = {self.__root.path: self.__root}
|
||||||
|
|
||||||
def __build_child(parent: schemas.FileItem, files: list[(str, list | int)]):
|
def __build_child(parent: schemas.FileItem, files: list[tuple[str, list | int]]):
|
||||||
parent.children = []
|
parent.children = []
|
||||||
for name, children in files:
|
for name, children in files:
|
||||||
sep = "" if parent.path.endswith("/") else "/"
|
sep = "" if parent.path.endswith("/") else "/"
|
||||||
|
|||||||
Reference in New Issue
Block a user