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