From aa961a64bfa707878b2c5f1d964db05b445f198f Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:20:37 +0800 Subject: [PATCH] fix: wrong init location for screenshots --- memos/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memos/commands.py b/memos/commands.py index bdcf41a..279a03b 100644 --- a/memos/commands.py +++ b/memos/commands.py @@ -137,7 +137,7 @@ def get_or_create_default_library(): # Check if the library is empty if not default_library["folders"]: # Add the screenshots directory to the library - screenshots_dir = Path(settings.screenshots_dir).resolve() + screenshots_dir = Path(settings.resolved_screenshots_dir).resolve() folder = { "path": str(screenshots_dir), "last_modified_at": datetime.fromtimestamp(