Forgot to call auto_answer

This commit is contained in:
Egor Guslyancev 2024-05-01 07:06:13 -03:00
parent a7f6d326b6
commit c957539877
GPG Key ID: D7E709AA465A55F9
2 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@ import timeout as tmo
# Simple config
GET_ONLY_FOR_VIP = True
POST_ONLY_FOR_VIP = True
VERSION = "20240501.3"
VERSION = "20240501.4"
CHARSET = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

View File

@ -2,7 +2,7 @@
// @name Sorryops
// @name:ru Сориупс
// @namespace https://git.disroot.org/electromagneticcyclone/sorryops
// @version 20240501.3
// @version 20240501.4
// @description Collect and reuse ORIOKS test answers
// @description:ru Скрипт для сбора и переиспользования ответов на тесты ОРИОКС
// @icon https://orioks.miet.ru/favicon.ico
@ -25,7 +25,7 @@
// ==/UserScript==
/* Version */
const VERSION = "20240501.3";
const VERSION = "20240501.4";
/* End Version */
/* Charset */
@ -871,6 +871,7 @@ function main() {
window.setInterval(() => {fetch_from_server(testID, (server_response) => {
if (version === undefined) {
parse_server_data(server_response);
auto_answer();
update_variant();
if (version === VERSION) {
auto_continue();