The cause of this error may run deep in your code, but if you simply wish to have and error free interface on the front end, you can cast any NoneType object to an empty string:


'this demonstrates casting a none to a string' + str(couldBeANoneType)

Leave a Reply

Your email address will not be published. Required fields are marked *