Traceback (most recent call last): File "/data/www/cam/app.py", line 932, in get qhname = qhname[0] TypeError: 'NoneType' object has no attribute '__getitem__'