From 2f313a0bd6fb7a131134e1ab59f08b140f53d89d Mon Sep 17 00:00:00 2001 From: linsui Date: Mon, 29 Jan 2024 23:13:13 +0800 Subject: [PATCH] scanner: refresh data without scaning --- fdroidserver/scanner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 478191c2..c875b4ea 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -825,6 +825,8 @@ def main(): if not appids: if options.exit_code and probcount > 0: sys.exit(ExitCode.NONFREE_CODE) + if options.refresh_scanner: + _get_tool() return # Read all app and srclib metadata