Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
en9inerd committed Nov 10, 2023
1 parent 8e880af commit d1aeafe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tgeraser/eraser.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ async def init(self, **kwargs: Any) -> None:
# Check authorization
if not await self.is_user_authorized():
print("First run. Sending code request...")
if kwargs.get("user_phone", None):
user_phone = kwargs["user_phone"]
else:
user_phone = await async_input("Enter your phone: ")

user_phone = await async_input("Enter your phone: ")
await self.sign_in(user_phone)

self_user = None
Expand Down

0 comments on commit d1aeafe

Please sign in to comment.