fixed sending telegram message for ignoring torrent files due to lower priority
This commit is contained in:
parent
85deff8bd0
commit
6b9e7a55f5
@ -45,7 +45,6 @@ func HandleFile(fh *FileHandle) {
|
|||||||
|
|
||||||
parsedFile.Anime = anime
|
parsedFile.Anime = anime
|
||||||
HandleParsedFile(w, parsedFile)
|
HandleParsedFile(w, parsedFile)
|
||||||
SendTelegramAnimeEpMessage(TelegramOrganizeMessagePattern, parsedFile.AnimeEpisode())
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -87,6 +86,8 @@ func HandleParsedFile(w io.Writer, parsedFile *model.ParsedFile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func OrganizeAnimeEpisode(w io.Writer, parsedFile *model.ParsedFile) error {
|
func OrganizeAnimeEpisode(w io.Writer, parsedFile *model.ParsedFile) error {
|
||||||
|
SendTelegramAnimeEpMessage(TelegramOrganizeMessagePattern, parsedFile.AnimeEpisode())
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
|
|
||||||
oldFile := parsedFile.File
|
oldFile := parsedFile.File
|
||||||
|
Loading…
Reference in New Issue
Block a user