TypeError
can only concatenate str (not "NoneType") to str
An unhandled exception occurred on line 7
5 |
|
---|---|
6 |
|
7 |
|
8 |
|
Solution
Test post: I was trying to concatenate a string and 'None' together. I have changed the value of None to an empty string "" instead!
Jan 27, 2021
•
Anyone
Install the browser extension
Found this solution helpful? Try our extension for quick solutions to your Flask errors.
Add to Chrome - It's free
2 replies
Metro
I think the use of "+" isn't really ideal in this case..
Metro
' '.join(str Vals) should do the work better