Merge branch 'scanner-uncrash' into 'master'

🐜 scanner: fix ScannerTool init crash

Closes #1212

See merge request fdroid/fdroidserver!1485
This commit is contained in:
Jochen Sprickerhof 2024-07-25 07:04:23 +00:00
commit c4db47dc47

View file

@ -332,7 +332,7 @@ class ScannerTool:
self.scanner_data_lookup()
options = common.get_options()
options_refresh_scanner = options and options.refresh_scanner
options_refresh_scanner = hasattr(options, "refresh_scanner") and options.refresh_scanner
if options_refresh_scanner or common.get_config().get('refresh_scanner'):
self.refresh()