From 2e53ac3bfc584f29cf43e539771a35e6e05c547c Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sat, 4 Jun 2022 16:24:02 -0700 Subject: [PATCH] cleanup code --- ani-cli | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ani-cli b/ani-cli index ff4c897..10703b7 100755 --- a/ani-cli +++ b/ani-cli @@ -776,7 +776,6 @@ open_episode() { episode="$2" ddir="$3" - # Don't update watch history if downloading episode insert_history "watch" "$anime_id" "$episode" lg "Getting data for episode $episode" @@ -1110,9 +1109,7 @@ main() { if ((is_download == 1)); then lg "Finished downloading episodes: $episodes for $selection_id... exiting" exit 0 - fi - - if ((is_autoplay == 0)); then + elif ((is_autoplay == 0)); then show_menu fi }