mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
vjudge: bug fix
This commit is contained in:
1 parent
f8d3f00d67
commit
ef42d1a553
2 files changed
+2
-2
No files matched your search
@@ -233,7 +233,7 @@ export default class POJProvider implements IBasicProvider {
|
||||
const { text } = await this.get(`/status?top=${+id + 1}`);
|
||||
const { window: { document } } = new JSDOM(text);
|
||||
const submission = document.querySelector('.a>tbody>tr[align="center"]');
|
||||
const status = VERDICT[submission.children[3].children[0].innerHTML.toUpperCase()]
|
||||
const status = VERDICT[submission.children[3].children[0].textContent.toUpperCase()]
|
||||
|| STATUS.STATUS_SYSTEM_ERROR;
|
||||
if (status === STATUS.STATUS_JUDGING) continue;
|
||||
if (status === STATUS.STATUS_COMPILE_ERROR) {
|
||||
|
||||
Reference in new issue
Block a user