mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
diagnostics: Fix a potential iteration of None value in error cases
- Prompted by pylint. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
ba145b3194
commit
acc498cb90
@ -125,7 +125,7 @@ def _run_on_all_enabled_modules():
|
||||
|
||||
for current_index, (app_id, app) in enumerate(apps):
|
||||
app_results = {
|
||||
'diagnosis': None,
|
||||
'diagnosis': [],
|
||||
'exception': None,
|
||||
'show_rerun_setup': False,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user