Skip to content
Snippets Groups Projects
Commit b4fb8153 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Fixed small problem in frontend when using python 3.6

parent 2f459d34
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,8 @@ class ModelExporter:
def link_from_to(from_: PathLike, to: PathLike):
from_, to = Path(from_), Path(to)
from_.unlink(missing_ok=True)
if from_.exists():
from_.unlink()
from_.symlink_to(to.absolute())
if isinstance(dataset, BinDataset):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment