No return statement means the method returns None which breaks a list comprehension down the line that expects a str instance.
No return statement means the method returns None which breaks a list comprehension down the line that expects a str instance.