mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +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
|
# definitions from config.yml here
|
||||||
|
|
||||||
self.scanner_data_lookup()
|
self.scanner_data_lookup()
|
||||||
|
|
||||||
|
if options and options.refresh_scanner:
|
||||||
|
self.refresh()
|
||||||
|
|
||||||
self.load()
|
self.load()
|
||||||
self.compile_regexes()
|
self.compile_regexes()
|
||||||
|
|
||||||
@ -802,9 +806,6 @@ def main():
|
|||||||
# initialize/load configuration values
|
# initialize/load configuration values
|
||||||
common.get_config(opts=options)
|
common.get_config(opts=options)
|
||||||
|
|
||||||
if options.refresh:
|
|
||||||
scanner._get_tool().refresh()
|
|
||||||
|
|
||||||
probcount = 0
|
probcount = 0
|
||||||
|
|
||||||
appids = []
|
appids = []
|
||||||
|
Loading…
Reference in New Issue
Block a user