mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
cleanup code
This commit is contained in:
parent
8d6acddea6
commit
2e53ac3bfc
5
ani-cli
5
ani-cli
@ -776,7 +776,6 @@ open_episode() {
|
|||||||
episode="$2"
|
episode="$2"
|
||||||
ddir="$3"
|
ddir="$3"
|
||||||
|
|
||||||
# Don't update watch history if downloading episode
|
|
||||||
insert_history "watch" "$anime_id" "$episode"
|
insert_history "watch" "$anime_id" "$episode"
|
||||||
|
|
||||||
lg "Getting data for episode $episode"
|
lg "Getting data for episode $episode"
|
||||||
@ -1110,9 +1109,7 @@ main() {
|
|||||||
if ((is_download == 1)); then
|
if ((is_download == 1)); then
|
||||||
lg "Finished downloading episodes: $episodes for $selection_id... exiting"
|
lg "Finished downloading episodes: $episodes for $selection_id... exiting"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
elif ((is_autoplay == 0)); then
|
||||||
|
|
||||||
if ((is_autoplay == 0)); then
|
|
||||||
show_menu
|
show_menu
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user