Closed napsternxg closed 6 years ago
Currently it tries to compare a list with an integer (0) to check for no content. This works in python 2 but will break in python3. The correct way to do it should be check the length of the content and compare that with 0 to check for empty.
Currently it tries to compare a list with an integer (0) to check for no content. This works in python 2 but will break in python3. The correct way to do it should be check the length of the content and compare that with 0 to check for empty.