Commit 4f8f8f2289
Unsigned
Layout: unified · split
cmd/curd/main.go +2 −2
| @@ -12,7 +12,7 @@ func main() { | ||
| 12 | 12 | |
| 13 | 13 | discordClientId := "1287457464148820089" |
| 14 | 14 | // fmt.Println(internal.LocalGetAllAnime("/home/wraient/Projects/curd/.config/curd/curd_history.txt")) |
| 15 | // os.Exit(0) | |
| 15 | // internal.ExitCurd() | |
| 16 | 16 | |
| 17 | 17 | // Setup |
| 18 | 18 | |
| @@ -169,7 +169,7 @@ func main() { | ||
| 169 | 169 | close(skipLoopDone) |
| 170 | 170 | } else { |
| 171 | 171 | fmt.Println("Have a great day!") |
| 172 | os.Exit(0) | |
| 172 | internal.ExitCurd() | |
| 173 | 173 | } |
| 174 | 174 | } |
| 175 | 175 | continue |
internal/anilist.go +1 −1
| @@ -458,7 +458,7 @@ func ParseAnimeList(input map[string]interface{}) AnimeList { | ||
| 458 | 458 | if input["data"] == nil { |
| 459 | 459 | Log("Anilist request failed", logFile) |
| 460 | 460 | fmt.Println("Anilist request failed") |
| 461 | os.Exit(0) | |
| 461 | ExitCurd() | |
| 462 | 462 | return animeList |
| 463 | 463 | } |
| 464 | 464 | data := input["data"].(map[string]interface{}) |