diff --git a/rwx/grub/__init__.py b/rwx/grub/__init__.py index 2b44e57..cd016ab 100644 --- a/rwx/grub/__init__.py +++ b/rwx/grub/__init__.py @@ -34,6 +34,6 @@ def make_image( if pubkey_path: args.append(("--pubkey", pubkey_path)) args.extend(modules) - if modules := MODULES.get(image_format, None): + if modules := MODULES.get(image_format): args.extend(modules) ps.run(*args)