Traceback (most recent call last): File "/data/www/108cun/108cun.py", line 1647, in get qhid = str(q[0]) TypeError: 'NoneType' object has no attribute '__getitem__'