mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 12:50:32 +00:00
did some error handeling on anime
This commit is contained in:
@@ -164,6 +164,8 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<(
|
|||||||
.unwrap()
|
.unwrap()
|
||||||
.to_string();
|
.to_string();
|
||||||
let ep_range = anime_ep_range(&app.title);
|
let ep_range = anime_ep_range(&app.title);
|
||||||
|
app.title = app.title.replace("tv-", "");
|
||||||
|
app.title = app.title.replace("dub", "");
|
||||||
app.anime_id = get_anime_id(&app.title);
|
app.anime_id = get_anime_id(&app.title);
|
||||||
app.messages.items.clear();
|
app.messages.items.clear();
|
||||||
app.progress =
|
app.progress =
|
||||||
|
|||||||
Reference in New Issue
Block a user