From b10ed69d5917e5ce764325beb4b95d535118996d Mon Sep 17 00:00:00 2001 From: furtest Date: Sun, 4 Jan 2026 12:22:21 +0100 Subject: [PATCH] defaults : change type of MISC_CACHE_DIR_PATH to str DEFAULT_MISC_CACHE_DIR_PATH was a Path but the fallbacks of config.get in config.py will be converted to a string so make it a string instead and do the conversion later --- src/unisync/defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unisync/defaults.py b/src/unisync/defaults.py index 3afa0d6..a00a3e7 100644 --- a/src/unisync/defaults.py +++ b/src/unisync/defaults.py @@ -15,4 +15,4 @@ DEFAULT_SERVER_PORT: int = 22 DEFAULT_ROOTS_LOCAL: str = str(Path("~/files").expanduser()) # DEFAULT_ROOTS_REMOTE: str = "" -DEFAULT_MISC_CACHE_DIR_PATH: Path = Path("~/.unisync").expanduser() +DEFAULT_MISC_CACHE_DIR_PATH: str = "~/.unisync"