From 43220b42f3bdbb0420e29652a89f5da3109e3b73 Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 22 May 2023 11:55:02 +0300 Subject: [PATCH] send progress to bot --- userdb/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userdb/db.py b/userdb/db.py index 37353e2..0f61ba4 100644 --- a/userdb/db.py +++ b/userdb/db.py @@ -43,7 +43,7 @@ def track(): } }) - send_msg(f'User <{hash}> visited { url } on { ua }') + send_msg(f'User <{hash}> visited { url } on { ua } ({ str(len(db[hash][cat])) })') with open('db.json', 'w+') as dbw: dbw.write(json.dumps(db, indent=4))