mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Cast is_bot value to bool
This commit is contained in:
parent
341c41e7ef
commit
e7f6e9ec66
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class Syncer:
|
|||
auth_key=auth_key,
|
||||
user_id=client.user_id,
|
||||
date=int(time.time()),
|
||||
is_bot=client.is_bot,
|
||||
is_bot=bool(client.is_bot),
|
||||
peers_by_id={
|
||||
k: getattr(v, "access_hash", None)
|
||||
for k, v in client.peers_by_id.copy().items()
|
||||
|
|
|
|||
Loading…
Reference in a new issue