fix: remove duplicate logger definition in login method
This commit is contained in:
parent
e64d1f8346
commit
9e36db3691
@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 20,
|
||||
"execution_count": 22,
|
||||
"id": "f28552f1-618c-4853-92e2-566554a2de2c",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -12,7 +12,7 @@
|
||||
"True"
|
||||
]
|
||||
},
|
||||
"execution_count": 20,
|
||||
"execution_count": 22,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -28,7 +28,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 21,
|
||||
"execution_count": 23,
|
||||
"id": "953d142e-a575-41b7-927d-8cd1546d2747",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
|
||||
Binary file not shown.
@ -278,12 +278,6 @@ class KworkClient:
|
||||
logger.debug(f"Login response data: {response_data}")
|
||||
logger.debug(f"Login cookies: {list(cookies.keys())}")
|
||||
|
||||
# Debug: print response for troubleshooting
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.debug(f"Login response: {response_data}")
|
||||
logger.debug(f"Login cookies: {cookies}")
|
||||
|
||||
# Extract userId from cookies
|
||||
user_id = cookies.get("userId")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user