From 86b05ee786325304633c7b1cd942aacfcc22caa1 Mon Sep 17 00:00:00 2001 From: Hongbo <12580159+ya0guang@users.noreply.github.com> Date: Tue, 27 Feb 2024 22:49:32 -0500 Subject: [PATCH] bugfix: iterate the keys rather than KV pairs --- fetch-macOS-v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch-macOS-v2.py b/fetch-macOS-v2.py index 250a63f..e173eb5 100755 --- a/fetch-macOS-v2.py +++ b/fetch-macOS-v2.py @@ -462,7 +462,7 @@ def action_guess(args): if len(supported) > 0: print(f'SUCCESS: MLB {mlb} looks supported for:') - for model in supported.items(): + for model in supported: print(f'- {model}, up to {supported[model][0]}, default: {supported[model][1]}, latest: {supported[model][2]}') return 0