diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2019-04-08 18:07:22 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2019-04-08 18:07:22 +0200 |
commit | 39eabb17e5a3b5e4446b0b6f9457d1a12290f0ff (patch) | |
tree | 81fb7a2280fbb57bde55dcc9e3ccbf96250c2c09 | |
parent | be441540c8b682744df64b934aa4e39b17d67ec9 (diff) |
fbin-scanner: Fix size limit
-rw-r--r-- | fbin-scanner.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |