mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +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:
1 file changed
+1
-1
@@ -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,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user