Assume undefined is idle.

This commit is contained in:
Jonathan Frederic 2015-08-21 17:17:16 -07:00
parent b689700910
commit 03a5b47067

View File

@ -149,7 +149,7 @@ casper.wait_for_idle = function () {
// Waits for the notebook to idle.
this.waitFor(function () {
return this.evaluate(function () {
return IPython._status == 'idle';
return IPython._status == 'idle' || IPython._status === undefined;
});
});
};