From 39eabb17e5a3b5e4446b0b6f9457d1a12290f0ff Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 8 Apr 2019 18:07:22 +0200 Subject: fbin-scanner: Fix size limit --- fbin-scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbin-scanner.py b/fbin-scanner.py index e60f8af..24bde76 100644 --- a/fbin-scanner.py +++ b/fbin-scanner.py @@ -85,7 +85,7 @@ def main(): if not dbfile.exists: logger.warning('Ignoring missing file %s', dbfile.get_path()) continue - if dbfile.get_size() > 2**20*32: + if dbfile.get_size() > 32*10**6: logger.info('Ignoring file %s due to size (%s)', dbfile.get_path(), dbfile.formatted_size) continue logger.info('Checking file %s (%s)', dbfile.get_path(), dbfile.formatted_size) -- cgit v1.2.3