alice bugfix
This commit is contained in:
parent
9820cc5b91
commit
98470e2b45
@ -19,8 +19,8 @@ class Processor:
|
||||
def process(self) -> dict:
|
||||
user = None
|
||||
if self.data['session']['new']:
|
||||
if self.user_id is not None:
|
||||
return {}
|
||||
if self.user_id is None:
|
||||
return {"text": "Пингуй дальше"}
|
||||
else:
|
||||
user = mongo.users_collection.find_one({"yandex_id": self.user_id})
|
||||
if user is None:
|
||||
|
Loading…
Reference in New Issue
Block a user