From d1aeafee79b30c93ddbb5e26edfc002232c8443b Mon Sep 17 00:00:00 2001 From: Vladimir <18351400+en9inerd@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:22:34 -0500 Subject: [PATCH] fix: remove unused code --- tgeraser/eraser.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tgeraser/eraser.py b/tgeraser/eraser.py index 6ef850c..8a7ff1e 100644 --- a/tgeraser/eraser.py +++ b/tgeraser/eraser.py @@ -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