encode relpath as a string

This commit is contained in:
evilchili 2025-10-18 16:09:04 -07:00
parent 18621170a3
commit ab6c7ca551

View File

@ -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