Debugging Collection folder pathing again

This commit is contained in:
2025-08-09 17:19:19 +00:00
parent eb78eefaa4
commit 40e56eb7f4

View File

@@ -171,8 +171,8 @@ class Storage:
relative_parts = Path(file_name).relative_to(self.config.book_path).parts relative_parts = Path(file_name).relative_to(self.config.book_path).parts
except ValueError: except ValueError:
continue # skip books outside the configured path continue # skip books outside the configured path
# breakpoint()
if len(relative_parts) < 2: if len(relative_parts) < 2:
breakpoint()
folder = relative_parts[1] folder = relative_parts[1]
else: else:
folder = relative_parts[0] folder = relative_parts[0]