TypeError
The view function did not return a valid response. The function either returned None or ended without a return statement.
An unhandled exception occurred on line 2098
2095 |
|
---|---|
2096 |
|
2097 |
|
2098 |
|
2099 |
|
2100 |
|
Solution
'return' was required to be added before calling the function! def index(): return qg.get_random_quote()
Mar 26, 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
0 replies