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
|
||||
HandleParsedFile(w, parsedFile)
|
||||
SendTelegramAnimeEpMessage(TelegramOrganizeMessagePattern, parsedFile.AnimeEpisode())
|
||||
break
|
||||
}
|
||||
}
|
||||
@ -87,6 +86,8 @@ func HandleParsedFile(w io.Writer, parsedFile *model.ParsedFile) {
|
||||
}
|
||||
|
||||
func OrganizeAnimeEpisode(w io.Writer, parsedFile *model.ParsedFile) error {
|
||||
SendTelegramAnimeEpMessage(TelegramOrganizeMessagePattern, parsedFile.AnimeEpisode())
|
||||
|
||||
start := time.Now()
|
||||
|
||||
oldFile := parsedFile.File
|
||||
|
Loading…
Reference in New Issue
Block a user