another fixes

This commit is contained in:
2025-03-09 08:19:30 +03:00
parent e616a28fbe
commit 82a2a5dafb
7 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class User:
@staticmethod
def start_shuffle_reg():
users_reg.clear()
users = [user for user in User.get_all() if len(user.type) == 4]
users = [user for user in User.get_all() if (user.type and len(user.type) == 4)]
markup = types.InlineKeyboardMarkup()
markup.add(