trim dot from file extension
This commit is contained in:
parent
e0018688e4
commit
a719289ef3
@ -8,6 +8,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func GetAnimeEpFilepath(animeEp model.AnimeEpisode, ext string) string {
|
func GetAnimeEpFilepath(animeEp model.AnimeEpisode, ext string) string {
|
||||||
|
ext = strings.TrimPrefix(ext, ".")
|
||||||
|
|
||||||
tmplData := AnimePathPatternData{
|
tmplData := AnimePathPatternData{
|
||||||
Title: animeEp.Anime.Title,
|
Title: animeEp.Anime.Title,
|
||||||
Episode: animeEp.Episode,
|
Episode: animeEp.Episode,
|
||||||
|
Loading…
Reference in New Issue
Block a user