Traceback (most recent call last): File "/data/www/govz/app.py", line 1962, in get contactava = contactid[1] TypeError: 'NoneType' object has no attribute '__getitem__'