encode relpath as a string
This commit is contained in:
parent
18621170a3
commit
ab6c7ca551
|
|
@ -305,7 +305,7 @@ class FilePointer(Field):
|
||||||
path = db.path / relpath
|
path = db.path / relpath
|
||||||
path.parent.mkdir(parents=True, exist_ok=True)
|
path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
path.write_bytes(record[self.name])
|
path.write_bytes(record[self.name])
|
||||||
record[self.name] = relpath
|
record[self.name] = str(relpath)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user