1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-10-27 20:34:16 +00:00

Import.offline: Do not fail if category files are not available

This commit is contained in:
gnosygnu 2016-10-22 10:06:39 -04:00
parent 749d355545
commit 9fba6afe6e
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class Xob_catlink_cmd extends Xob_sql_dump_base implements Xosql_dump_cbk
mgr.On_cmd_bgn(wiki); mgr.On_cmd_bgn(wiki);
} }
@Override public void Cmd_end() { @Override public void Cmd_end() {
if (fail) return;
mgr.On_cmd_end(); mgr.On_cmd_end();
this.Cmd_cleanup_sql(); this.Cmd_cleanup_sql();
} }

View File

@ -35,6 +35,7 @@ public class Xob_pageprop_cmd extends Xob_sql_dump_base implements Xosql_dump_cb
tbl.Insert_bgn(); tbl.Insert_bgn();
} }
@Override public void Cmd_end() { @Override public void Cmd_end() {
if (fail) return;
tbl.Insert_end(); tbl.Insert_end();
this.Cmd_cleanup_sql(); this.Cmd_cleanup_sql();
} }