mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added Unsorted collection
This commit is contained in:
3
src/backend/lib/storage.py
vendored
3
src/backend/lib/storage.py
vendored
@@ -172,8 +172,7 @@ class Storage:
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
continue # skip books outside the configured path
|
continue # skip books outside the configured path
|
||||||
if len(relative_parts) < 2:
|
if len(relative_parts) < 2:
|
||||||
breakpoint()
|
folder = "Unsorted"
|
||||||
folder = relative_parts[1]
|
|
||||||
else:
|
else:
|
||||||
folder = relative_parts[0]
|
folder = relative_parts[0]
|
||||||
# check if collection exists
|
# check if collection exists
|
||||||
|
|||||||
Reference in New Issue
Block a user