From 3852d9fdea51f497983500eb3201f718f54b113d Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Mon, 7 Mar 2022 20:58:03 +0300 Subject: [PATCH] Fix the bug with renaming --- hyphae/existing_hypha.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyphae/existing_hypha.go b/hyphae/existing_hypha.go index 3f230f9..8b6cf7f 100644 --- a/hyphae/existing_hypha.go +++ b/hyphae/existing_hypha.go @@ -28,7 +28,7 @@ func RenameHyphaTo(h ExistingHypha, newName string, replaceName func(string) str h.mycoFilePath = replaceName(h.mycoFilePath) case *MediaHypha: h.canonicalName = newName - h.mycoFilePath = replaceName(h.mediaFilePath) + h.mycoFilePath = replaceName(h.mycoFilePath) h.mediaFilePath = replaceName(h.mediaFilePath) }