diff options
-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 8bd0d6b..2e60522 100644 --- a/fbin-scanner.py +++ b/fbin-scanner.py @@ -79,7 +79,7 @@ def get_report(dbfile, digest, fileobj): logger.warning('Unknown response: %s', data) def main(): - storage = importlib.import_module(current_app.config.get('STORAGE_MODULE')).Storage(current_app) + storage = importlib.import_module(current_app.config.get('STORAGE_MODULE', 'fbin.file_storage.filesystem')).Storage(current_app) with session_scope() as session: files = deque(session.query(File).filter(File.scanned == False).all()) while len(files): |