encode relpath as a string
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user