mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
Corrected VSBoolean's toString method to return a value that Python will recognize as a boolean.
This commit is contained in:
parent
ab337c20a8
commit
795839dd56
@ -15,4 +15,10 @@ public class VSBoolean extends VSValue<Boolean> {
|
||||
setValue(Integer.parseInt(string.trim()) != 0);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getValue() ? "True" : "False";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user