Bug-fix - False formats as True.

This commit is contained in:
Adam Kelly
2018-09-01 17:10:18 +01:00
parent 8780d58857
commit 86ea663317

View File

@@ -68,7 +68,7 @@ fn bool_str(vm: &mut VirtualMachine, args: PyFuncArgs) -> Result<PyObjectRef, Py
let s = if v {
"True".to_string()
} else {
"True".to_string()
"False".to_string()
};
Ok(vm.new_str(s))
}