Skip to content

Commit

Permalink
noqa fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHardeep committed Mar 29, 2024
1 parent 5aebd30 commit 0437e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fenix/zerodha.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,11 @@ def create_headers(
)
sess_id = req_01.url.split("?")[1]

req_02 = cls.fetch(
req_02 = cls.fetch( # noqa: F841
method="GET",
url=f"{cls.token_urls['session']}{sess_id}",
timeout=10,
) # noqa: F841
)

data = {"password": params["password"], "user_id": params["user_id"]}
req_03 = cls.fetch(
Expand All @@ -351,12 +351,12 @@ def create_headers(
"skip_session": "false",
}

req_04 = cls.fetch(
req_04 = cls.fetch( # noqa: F841
method="POST",
url=cls.token_urls["twofa"],
data=data,
timeout=10,
) # noqa: F841
)

try:
req_05 = cls.fetch(
Expand Down

0 comments on commit 0437e02

Please sign in to comment.