File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
from contextlib import closing
17
17
from fnmatch import fnmatchcase
18
18
from pathlib import Path
19
- from typing import TYPE_CHECKING , List
20
19
from time import sleep
20
+ from typing import TYPE_CHECKING , List
21
21
22
22
import pdfkit
23
23
import requests
@@ -235,7 +235,7 @@ def get_session_key(soup):
235
235
}
236
236
237
237
resp3 = self .session .post (resp2 .url , data = totp_selection_data )
238
-
238
+
239
239
soup = bs (resp3 .text , features = "html.parser" )
240
240
if soup .find (id = "fudis_otp_input" ) is None :
241
241
logger .critical (
@@ -256,7 +256,7 @@ def get_session_key(soup):
256
256
257
257
resp4 = self .session .post (resp3 .url , data = totp_login_data )
258
258
259
- sleep (1 ) # if we go too fast, we might have our connection closed
259
+ sleep (1 ) # if we go too fast, we might have our connection closed
260
260
soup = bs (resp4 .text , features = "html.parser" )
261
261
if soup .find ("input" , {"name" : "RelayState" }) is None :
262
262
logger .critical (
You can’t perform that action at this time.
0 commit comments