diff --git a/anime_episode_filepath.go b/anime_episode_filepath.go index 4b03aee..fe3d5e3 100644 --- a/anime_episode_filepath.go +++ b/anime_episode_filepath.go @@ -8,6 +8,8 @@ import ( ) func GetAnimeEpFilepath(animeEp model.AnimeEpisode, ext string) string { + ext = strings.TrimPrefix(ext, ".") + tmplData := AnimePathPatternData{ Title: animeEp.Anime.Title, Episode: animeEp.Episode,