Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Arpit Bhardwaj <proffapt@pm.me>
  • Loading branch information
shikharish and proffapt committed Nov 25, 2023
1 parent 68ede04 commit f7e67c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iitkgp_erp_login/read_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def getOTP(OTP_CHECK_INTERVAL,headers: dict[str, str], session: requests.Session

latest_mail_id = getMailID(service)
request_otp(headers=headers, session=session, login_details=login_details, log=log)

if log: logging.info(" Waiting for OTP ...")

while True:
if (mail_id := getMailID(service)) != latest_mail_id:
break
Expand Down

0 comments on commit f7e67c2

Please sign in to comment.