diff --git a/main.py b/main.py
index e38cf0e..38bfe3d 100755
--- a/main.py
+++ b/main.py
@@ -101,7 +101,7 @@ def add_user(update: Update, ctx: CallbackContext):
user = _add_user(ctx.bot, uid)
if update.callback_query:
update.callback_query.message.edit_reply_markup()
- ctx.bot.send_message(MANAGEMENT_CHAT, f'{escape(user.name)} был добавлен',
+ ctx.bot.send_message(MANAGEMENT_CHAT, f'{escape(user.name)} ({uid}) был добавлен',
parse_mode='html')
ctx.bot.send_message(uid, 'Добро пожаловать. Снова.')
except TelegramError as e:
@@ -242,7 +242,7 @@ def users_list(update: Update, ctx: CallbackContext):
with open('fake_users.json') as f:
subs = {data[0]: Subscriber(int(data[0]), data[1]) for data in json.load(f).items()}
except:
- subs = conn.root.subscribers.values()
+ subs = conn.root.subscribers
messages = [f'Count: {len(subs)}\n']
for sub in subs.values(): # type: Subscriber