Closed TetoTheSquirrelFox closed 4 years ago
Describe the bug A class method won't work as intended I think
To Reproduce Steps to reproduce the behavior: Open file_ops.py Method def json_booleans_to_python(value) (line 278)
Expected behavior When value is 0, return False, True otherwise.
Screenshots
The bug itself I think that to work properly, the method should be:
def json_booleans_to_python(value): return value != 0
The method seems to be unused, but well...
I will look into it
I don't even think this is used anywhere in the code...
I don't think so either. Just for the future if you need it.
Describe the bug A class method won't work as intended I think
To Reproduce Steps to reproduce the behavior: Open file_ops.py Method def json_booleans_to_python(value) (line 278)
Expected behavior When value is 0, return False, True otherwise.
Screenshots![image](https://user-images.githubusercontent.com/59537161/73393635-51277480-42dc-11ea-99d9-45396ab15aa2.png)
The bug itself I think that to work properly, the method should be:
The method seems to be unused, but well...