We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a8ded commit ed6e07cCopy full SHA for ed6e07c
src/arguments/settings.py
@@ -0,0 +1,15 @@
1
+import os
2
+from pathlib import Path
3
+
4
+NOTION_URL = "https://www.notion.so/"
5
+LOGIN_PATH = NOTION_URL + "/login"
6
+DATA_DIR = os.environ.get(
7
+ "DYNAMIC_DATA_DIR", str(Path(os.path.expanduser("~")).joinpath(".dynamic"))
8
+)
9
+PLAYBOOK_DIR = str(Path(DATA_DIR).joinpath("playbook.json"))
10
+TOKEN_COOKIE_FILE = str(Path(DATA_DIR).joinpath("tokenv2_cookie"))
11
12
+try:
13
+ os.makedirs(DATA_DIR)
14
+except FileExistsError:
15
+ pass
0 commit comments