Minor fix

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
Rahul Rudragoudar 2021-04-21 14:56:58 +05:30
parent aa5e7da0bc
commit d62951fa51
No known key found for this signature in database
GPG Key ID: 0D2CE231A7287EBC

View File

@ -35,15 +35,11 @@ class BackgroundTask(throttle: Int, timeLimit: Int) {
val media = pickRandom(captcha.allowedMedia) val media = pickRandom(captcha.allowedMedia)
val inputType = pickRandom(captcha.allowedInputType) val inputType = pickRandom(captcha.allowedInputType)
<<<<<<< HEAD
Parameters(level, media, inputType, Some(Size(0, 0))) Parameters(level, media, inputType, Some(Size(0, 0)))
} }
private def pickRandom[T](list: List[T]): T = { private def pickRandom[T](list: List[T]): T = {
list(Config.getNextRandomInt(list.size)) list(Config.getNextRandomInt(list.size))
=======
Parameters(level, media, inputType, Some(Size(0,0)))
>>>>>>> 8f0f29c579087846784922959337e2a25c11b617
} }
def beginThread(delay: Int): Unit = { def beginThread(delay: Int): Unit = {