mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
exit if check login failed
This commit is contained in:
@@ -18,7 +18,9 @@ impl Main {
|
|||||||
println!("{}", gettext("Failed to initialize pixiv web api client."));
|
println!("{}", gettext("Failed to initialize pixiv web api client."));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
pw.check_login();
|
if !pw.check_login() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
if !pw.logined() {
|
if !pw.logined() {
|
||||||
println!(
|
println!(
|
||||||
"{}",
|
"{}",
|
||||||
|
|||||||
Reference in New Issue
Block a user