fixed old file path
This commit is contained in:
parent
965b5957e1
commit
dc524dbd42
@ -89,7 +89,7 @@ func HandleParsedFile(w io.Writer, parsedFile *model.ParsedFile) {
|
||||
func OrganizeAnimeEpisode(w io.Writer, parsedFile *model.ParsedFile) error {
|
||||
start := time.Now()
|
||||
|
||||
oldFile := filepath.Join(DownloadPath, parsedFile.File)
|
||||
oldFile := parsedFile.File
|
||||
newFile := logic.GetAnimeEpFilepath(parsedFile.AnimeEpisode(), filepath.Ext(parsedFile.File))
|
||||
lockFile := logic.GetAnimeEpFilepath(parsedFile.AnimeEpisode(), "lock")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user