removed debug code

This commit is contained in:
milarin 2023-01-18 11:34:13 +01:00
parent 5eabd557ab
commit c354ab3ffb

13
main.go
View File

@ -1,9 +1,7 @@
package main package main
import ( import (
"os"
"os/exec" "os/exec"
"time"
"git.milar.in/milarin/channel" "git.milar.in/milarin/channel"
"git.milar.in/nyaanime/logic" "git.milar.in/nyaanime/logic"
@ -27,17 +25,6 @@ func main() {
panic(err) // TODO error handling panic(err) // TODO error handling
} }
//anime := adverr.Must(logic.SearchAnimeByTitle("トモちゃんは女の子!"))
//animeEp1 := model.AnimeEpisode{Anime: anime, Episode: 2}
//animeEp2 := model.AnimeEpisode{Anime: anime, Episode: 3}
//animeEp3 := model.AnimeEpisode{Anime: anime, Episode: 4}
//PrepareTelegramAnimeEpMessage(animeEp1)
//PrepareTelegramAnimeEpMessage(animeEp2)
//PrepareTelegramAnimeEpMessage(animeEp3)
time.Sleep(time.Minute)
os.Exit(0)
logic.PrintPriorityTables() logic.PrintPriorityTables()
fileChan, err := WatchDirectory(fsnotify.Create, DownloadPath) fileChan, err := WatchDirectory(fsnotify.Create, DownloadPath)