diff --git a/tools/otagui/ota_interface.py b/tools/otagui/ota_interface.py index a05a0e2c9..eba960939 100644 --- a/tools/otagui/ota_interface.py +++ b/tools/otagui/ota_interface.py @@ -251,7 +251,7 @@ class ProcessesManagement: args['extra'] = \ '--' + ' --'.join(args['extra_keys']) + ' ' + args['extra'] if args['extra']: - command += args['extra'].split(' ') + command += args['extra'].strip().split(' ') command.append('-k') command.append( 'build/make/target/product/security/testkey')