From 13166f0f797bccd84f8c40db044d934c3594599d Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 23 Jul 2017 00:17:01 +0200 Subject: [PATCH] Fix #230: pmbootstrap flasher flash_system is broken Regression from the cmdline argument feature. --- pmb/flasher/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/flasher/run.py b/pmb/flasher/run.py index 5da8ada5..f9f0e236 100644 --- a/pmb/flasher/run.py +++ b/pmb/flasher/run.py @@ -31,7 +31,7 @@ def run(args, action, flavor=None): " configured for method " + method + "!") _cmdline = args.deviceinfo["kernel_cmdline"] - if args.cmdline: + if "cmdline" in args and args.cmdline: _cmdline = args.cmdline _base = args.deviceinfo["flash_offset_base"] if _base == "":