From 6b9e7a55f55dedea1b1118e6cdf42b75908cddcd Mon Sep 17 00:00:00 2001 From: milarin Date: Mon, 16 Jan 2023 14:57:56 +0100 Subject: [PATCH] fixed sending telegram message for ignoring torrent files due to lower priority --- handle_file.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handle_file.go b/handle_file.go index 09ffc10..b7424e0 100644 --- a/handle_file.go +++ b/handle_file.go @@ -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