mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 03:05:25 +00:00
fix: wrong init location for screenshots
This commit is contained in:
parent
7dd22b27f1
commit
aa961a64bf
@ -137,7 +137,7 @@ def get_or_create_default_library():
|
|||||||
# Check if the library is empty
|
# Check if the library is empty
|
||||||
if not default_library["folders"]:
|
if not default_library["folders"]:
|
||||||
# Add the screenshots directory to the library
|
# Add the screenshots directory to the library
|
||||||
screenshots_dir = Path(settings.screenshots_dir).resolve()
|
screenshots_dir = Path(settings.resolved_screenshots_dir).resolve()
|
||||||
folder = {
|
folder = {
|
||||||
"path": str(screenshots_dir),
|
"path": str(screenshots_dir),
|
||||||
"last_modified_at": datetime.fromtimestamp(
|
"last_modified_at": datetime.fromtimestamp(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user