mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-08-16 19:30:09 +02:00
scanner: refresh data before loading data
This commit is contained in:
parent
aa0b85955c
commit
fe7e4f8226
@ -332,6 +332,10 @@ class ScannerTool():
|
||||
# definitions from config.yml here
|
||||
|
||||
self.scanner_data_lookup()
|
||||
|
||||
if options and options.refresh_scanner:
|
||||
self.refresh()
|
||||
|
||||
self.load()
|
||||
self.compile_regexes()
|
||||
|
||||
@ -802,9 +806,6 @@ def main():
|
||||
# initialize/load configuration values
|
||||
common.get_config(opts=options)
|
||||
|
||||
if options.refresh:
|
||||
scanner._get_tool().refresh()
|
||||
|
||||
probcount = 0
|
||||
|
||||
appids = []
|
||||
|
Loading…
Reference in New Issue
Block a user