mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'scanner-uncrash' into 'master'
🐜 scanner: fix ScannerTool init crash Closes #1212 See merge request fdroid/fdroidserver!1485
This commit is contained in:
commit
c4db47dc47
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue