* fix tests
This commit is contained in:
parent
e5b1aa0e6a
commit
5f889d5af6
|
|
@ -765,7 +765,7 @@
|
|||
else {
|
||||
context.jamClient.FTUESetMusicProfileName(gearUtils.createProfileName(selectedDeviceInfo));
|
||||
var result = context.jamClient.FTUESave(true);
|
||||
if(result != "") {
|
||||
if(result && result != "") {
|
||||
// failed
|
||||
logger.warn("unable to FTUESave(true). reason:" + result);
|
||||
context.JK.Banner.alertSupportedNeeded("Unable to persist the audio profile. " + result);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
function automaticScore() {
|
||||
logger.debug("automaticScore: calling FTUESave(false)");
|
||||
var result = jamClient.FTUESave(false);
|
||||
if(result != "") {
|
||||
if(result && result != "") {
|
||||
logger.debug("unable to FTUESave(false). reason=" + result);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue