generated from mirzaev/pot
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
830ba25b8d |
@@ -175,7 +175,7 @@ final class interneturok extends core
|
||||
if (!empty($accounts)) {
|
||||
// Initialized accounts
|
||||
|
||||
/* if (shuffle($accounts)) { */
|
||||
if (shuffle($accounts)) {
|
||||
// Shuffled accounts
|
||||
|
||||
foreach ($accounts as $account) {
|
||||
@@ -319,7 +319,7 @@ final class interneturok extends core
|
||||
continue;
|
||||
}
|
||||
}
|
||||
/* } */
|
||||
}
|
||||
}
|
||||
|
||||
// Exit (fail)
|
||||
@@ -642,7 +642,8 @@ final class interneturok extends core
|
||||
);
|
||||
|
||||
return $this->browser->sendAsync($request)
|
||||
->then(function ($response) use ($homework) {
|
||||
->then(
|
||||
function ($response) use ($homework) {
|
||||
// Sended the request and received the response
|
||||
|
||||
// Initializing the lesson
|
||||
@@ -833,7 +834,8 @@ final class interneturok extends core
|
||||
// Exit (fail)
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// Exit (fail)
|
||||
|
@@ -206,7 +206,7 @@ final class parser extends core
|
||||
$parser = new interneturok();
|
||||
|
||||
// Parsing homework files
|
||||
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 0);
|
||||
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 3);
|
||||
|
||||
if (!empty($files)) {
|
||||
// Initialized homework files
|
||||
|
Reference in New Issue
Block a user