From 387222995ad1c33ac61ce066f0a7a2c05ebdd8c2 Mon Sep 17 00:00:00 2001 From: Nico Jansen <9384332+0x483d@users.noreply.github.com> Date: Tue, 28 Sep 2021 16:34:08 +0200 Subject: [PATCH 1/2] Fixed comparison issue Fixed issue: https://github.com/Neo23x0/Loki/issues/197 --- loki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loki.py b/loki.py index 9eb6b10a..eaaadb04 100644 --- a/loki.py +++ b/loki.py @@ -346,7 +346,7 @@ def scan_path(self, path): # Evaluations ------------------------------------------------------- # Evaluate size - if fileSize > (args.s * 1024): + if fileSize > int((args.s * 1024)): # Print files do_intense_check = False From 4a25df7efc2276a07776ba1844c9bf90a4f4be36 Mon Sep 17 00:00:00 2001 From: Nico Jansen <9384332+0x483d@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:59:39 +0200 Subject: [PATCH 2/2] Updated pull request fixed issue --- loki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loki.py b/loki.py index eaaadb04..39ec6d48 100644 --- a/loki.py +++ b/loki.py @@ -346,7 +346,7 @@ def scan_path(self, path): # Evaluations ------------------------------------------------------- # Evaluate size - if fileSize > int((args.s * 1024)): + if fileSize > (int(args.s) * 1024): # Print files do_intense_check = False