mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +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):
|
for current_index, (app_id, app) in enumerate(apps):
|
||||||
app_results = {
|
app_results = {
|
||||||
'diagnosis': None,
|
'diagnosis': [],
|
||||||
'exception': None,
|
'exception': None,
|
||||||
'show_rerun_setup': False,
|
'show_rerun_setup': False,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user