From f4d81cc7c516a7082cbd5e5af1cd8d59e459ff63 Mon Sep 17 00:00:00 2001 From: Yifan Yang <64255737+yfyeung@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:45:05 +0800 Subject: [PATCH] Rename function --- icefall/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icefall/utils.py b/icefall/utils.py index f24a7165e..dfe9a7b42 100644 --- a/icefall/utils.py +++ b/icefall/utils.py @@ -1884,7 +1884,7 @@ def is_cjk(character): ) -def symlink_or_copyfile(exp_dir: Path, src: str, dst: str): +def symlink_or_copy(exp_dir: Path, src: str, dst: str): """ In the experiment directory, create a symlink pointing to src named dst. If symlink creation fails (Windows?), fall back to copyfile."""