Skip to content

Commit

Permalink
Wake up device when calling recall script.
Browse files Browse the repository at this point in the history
  • Loading branch information
aitjcize committed Aug 19, 2011
1 parent 73491bb commit 73b32e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/zeroxlab/aster/cmds/AsterCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.python.core.PyException;

public abstract class AsterCommand {
private static ScriptRunner mRunner;
protected static ScriptRunner mRunner;
protected static int mSeqNext = 0;
protected int mSerial = 0;
protected boolean mLandscape = false;
Expand Down
1 change: 1 addition & 0 deletions src/org/zeroxlab/aster/cmds/Recall.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public void fillSettings(SimpleBindings settings) throws IOException {
@Override
public ExecutionResult execute() {
ExecutionResult result = new ExecutionResult(true, "");
mRunner.runStringLocal("wake()\n");
try {
if (mScript.length() != 0) {
result = (new AsterCommandManager()).runLocal(mScript);
Expand Down

0 comments on commit 73b32e6

Please sign in to comment.