mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
scanner: refresh data before loading data
This commit is contained in:
parent
aa0b85955c
commit
fe7e4f8226
1 changed files with 4 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue