Skip to content

Index page exception #21

@unref

Description

@unref

На главной странице выбрасывает исключение, в случае когда в браузере есть куки от пользователя которого нет в БД. Например пользователь залогинился, затем закрыл вкладку, затем этого пользователя удалить из БД.

TypeError: 'NoneType' object has no attribute '__getitem__'

if not logined_by_cookie():

cookie = cur.fetchone()[0] # getting hash

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions