mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +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
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue