Skip to content

Commit de68f83

Browse files
authored
Use fixed length mask instead of dynamic length (#635)
1 parent 4f16c17 commit de68f83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/types/object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def default(obj: "Object"):
5656
"_": obj.__class__.__name__,
5757
**{
5858
attr: (
59-
"*" * len(getattr(obj, attr))
59+
"*" * 9
6060
if attr == "phone_number" else
6161
str(datetime.fromtimestamp(getattr(obj, attr)))
6262
if attr.endswith("date") else

0 commit comments

Comments
 (0)