Skip to content

Commit 0a49d1f

Browse files
committed
Fix notion.py error.py dosctrings
1 parent ad2b229 commit 0a49d1f

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/arguments/error.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ def evoke_search_error(self, error_statement):
2121

2222
class LoginError():
2323
def __init__(self, error_statement, success=False):
24-
"""Implements error printing for User Login
24+
"""
25+
Implements error printing for User Login
2526
2627
:error_statement: Error statement to print
2728
:success: Indicates success of login attempt

src/arguments/notion.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ def get_token_from_file():
2626
return data
2727

2828
def get_cookies_from_login():
29-
30-
"""
31-
Capture browser cookies for authentication
32-
33-
Provides the user browser window to login to Notion
34-
Returns the user's cookies which can be used to
35-
access and transfer content to user's Notion account
36-
"""
29+
"""Capture browser cookies for authentication"""
3730
driver = get_browser_driver()
3831
try:
3932
driver.get(LOGIN_PATH)

0 commit comments

Comments
 (0)