You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: echo360/main.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
from .echo_exceptionsimportEchoLoginError
21
21
from .downloaderimportEchoDownloader
22
22
from .courseimportEchoCourse, EchoCloudCourse
23
+
from .utilsimportPERSISTENT_SESSION_FOLDER
23
24
24
25
_DEFAULT_BEFORE_DATE=datetime(2900, 1, 1).date()
25
26
_DEFAULT_AFTER_DATE=datetime(1100, 1, 1).date()
@@ -96,10 +97,14 @@ def handle_args():
96
97
)
97
98
parser.add_argument(
98
99
"--persistent-session",
100
+
"-P",
99
101
action="store_true",
100
102
default=False,
101
103
dest="persistent_session",
102
-
help="Starts a persistent session (helps to store credentials). Session uses '_browser_user_data_dir' folder, and currently only supports chrome driver.",
104
+
help="Starts a persistent session (helps to store credentials). Session uses \
105
+
'{}' folder, and currently only supports chrome driver.".format(
0 commit comments