mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 13:19:05 +00:00
Merge branch 'main' into feat-user-auth-fief
This commit is contained in:
@@ -111,7 +111,9 @@ class Transcript(BaseModel):
|
||||
out.close()
|
||||
|
||||
# move temporary file to final location
|
||||
Path(tmp.name).rename(fn)
|
||||
import shutil
|
||||
|
||||
shutil.move(tmp.name, fn.as_posix())
|
||||
|
||||
def unlink(self):
|
||||
self.data_path.unlink(missing_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user