fix: remove duplicate logger definition in login method

This commit is contained in:
root 2026-03-29 22:11:19 +00:00
parent e64d1f8346
commit 9e36db3691
3 changed files with 3 additions and 9 deletions

View File

@ -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": [

View File

@ -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")