Skip to content

Commit

Permalink
#33: continue instead of return to prevent aborting an action in case…
Browse files Browse the repository at this point in the history
… a tv show has no episodes
  • Loading branch information
t3kmateo committed Jun 7, 2024
1 parent 054a4d1 commit 146bbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl Action {
sub_pb.set_length(num_episodes);
if num_episodes == 0 {
sub_pb.finish_with_message("No episodes found");
return Ok(());
continue;
}
for episode in response.data {
self.process_episode_subtitle(&sub_pb, episode).await;
Expand Down

0 comments on commit 146bbd0

Please sign in to comment.