mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Pass the phone number when calling the phone_code callback function
This commit is contained in:
parent
66f91b1b63
commit
47043380fb
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ class Client(Methods, BaseClient):
|
|||
self.phone_code = (
|
||||
input("Enter phone code: ") if self.phone_code is None
|
||||
else self.phone_code if type(self.phone_code) is str
|
||||
else str(self.phone_code())
|
||||
else str(self.phone_code(self.phone_number))
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue