Fix #230: pmbootstrap flasher flash_system is broken

Regression from the cmdline argument feature.
This commit is contained in:
Oliver Smith 2017-07-23 00:17:01 +02:00
parent 0e5808bed1
commit 13166f0f79
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 1 additions and 1 deletions

View File

@ -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 == "":