mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Use fixed length mask instead of dynamic length (#635)
This commit is contained in:
parent
4f16c174a3
commit
de68f83c1f
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class Object(metaclass=Meta):
|
||||||
"_": obj.__class__.__name__,
|
"_": obj.__class__.__name__,
|
||||||
**{
|
**{
|
||||||
attr: (
|
attr: (
|
||||||
"*" * len(getattr(obj, attr))
|
"*" * 9
|
||||||
if attr == "phone_number" else
|
if attr == "phone_number" else
|
||||||
str(datetime.fromtimestamp(getattr(obj, attr)))
|
str(datetime.fromtimestamp(getattr(obj, attr)))
|
||||||
if attr.endswith("date") else
|
if attr.endswith("date") else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue