mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-15 02:14:28 +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."));
|
||||
return 1;
|
||||
}
|
||||
pw.check_login();
|
||||
if !pw.check_login() {
|
||||
return 1;
|
||||
}
|
||||
if !pw.logined() {
|
||||
println!(
|
||||
"{}",
|
||||
|
||||
Reference in New Issue
Block a user