From 241be1631c5049f5b7a1a535a1313ad75344f600 Mon Sep 17 00:00:00 2001 From: Rahul Rudragoudar Date: Tue, 20 Apr 2021 13:53:08 +0530 Subject: [PATCH] Minor fix Signed-off-by: Rahul Rudragoudar --- src/main/scala/lc/background/taskThread.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/lc/background/taskThread.scala b/src/main/scala/lc/background/taskThread.scala index 2b5cd99..3508d02 100644 --- a/src/main/scala/lc/background/taskThread.scala +++ b/src/main/scala/lc/background/taskThread.scala @@ -34,7 +34,7 @@ class BackgroundTask(throttle: Int, timeLimit: Int) { val media = Config.allowedMedia.toList(Config.getNextRandomInt(Config.allowedMedia.size)) val inputType = Config.allowedInputType.toList(Config.getNextRandomInt(Config.allowedInputType.size)) - Parameters(level, media, inputType, Option(Size(0,0))) + Parameters(level, media, inputType, Some(Size(0,0))) } def beginThread(delay: Int): Unit = {