Corrected VSBoolean's toString method to return a value that Python will recognize as a boolean.

This commit is contained in:
Derek Bankieris 2015-03-16 13:20:02 -05:00
parent ab337c20a8
commit 795839dd56

View File

@ -15,4 +15,10 @@ public class VSBoolean extends VSValue<Boolean> {
setValue(Integer.parseInt(string.trim()) != 0);
}
@Override
public String toString() {
return getValue() ? "True" : "False";
}
}