From ab6c7ca5516d24f22098d7e203461cdb94aa3aa4 Mon Sep 17 00:00:00 2001 From: evilchili Date: Sat, 18 Oct 2025 16:09:04 -0700 Subject: [PATCH] encode relpath as a string --- src/grung/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grung/types.py b/src/grung/types.py index 285787e..657f7b2 100644 --- a/src/grung/types.py +++ b/src/grung/types.py @@ -305,7 +305,7 @@ class FilePointer(Field): path = db.path / relpath path.parent.mkdir(parents=True, exist_ok=True) path.write_bytes(record[self.name]) - record[self.name] = relpath + record[self.name] = str(relpath) @dataclass