znote 1.2.2__tar.gz → 1.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {znote-1.2.2/znote.egg-info → znote-1.2.4}/PKG-INFO +2 -1
- znote-1.2.4/znote/app/display.p +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/client/settings.py +1 -1
- {znote-1.2.2 → znote-1.2.4}/znote/core/server/settings.py +4 -2
- {znote-1.2.2 → znote-1.2.4/znote.egg-info}/PKG-INFO +2 -1
- {znote-1.2.2 → znote-1.2.4}/znote.egg-info/SOURCES.txt +1 -0
- {znote-1.2.2 → znote-1.2.4}/znote.egg-info/requires.txt +1 -0
- {znote-1.2.2 → znote-1.2.4}/LICENSE +0 -0
- {znote-1.2.2 → znote-1.2.4}/README.md +0 -0
- {znote-1.2.2 → znote-1.2.4}/setup.cfg +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/__init__.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/app/display.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/app/input.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/client.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/auth.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/client/connect.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/client/fetch.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/client/metafile.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/client/token.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/config.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/editor.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/gen.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/pack.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/server/note.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/core/workspace.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/main.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/model/models.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote/server.py +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote.egg-info/dependency_links.txt +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote.egg-info/entry_points.txt +0 -0
- {znote-1.2.2 → znote-1.2.4}/znote.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: znote
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Vault de prise de note
|
|
5
5
|
Author:
|
|
6
6
|
License: mit
|
|
@@ -18,6 +18,7 @@ Requires-Dist: prompt_toolkit
|
|
|
18
18
|
Requires-Dist: dill
|
|
19
19
|
Requires-Dist: impmagic
|
|
20
20
|
Requires-Dist: pyyaml
|
|
21
|
+
Requires-Dist: cryptography
|
|
21
22
|
Dynamic: description
|
|
22
23
|
Dynamic: description-content-type
|
|
23
24
|
Dynamic: keywords
|
|
File without changes
|
|
@@ -14,7 +14,7 @@ class Settings():
|
|
|
14
14
|
{'module': 'core.client.token','submodule': ['get_token']}
|
|
15
15
|
)
|
|
16
16
|
def __init__(self, config_file):
|
|
17
|
-
if config_file:
|
|
17
|
+
if not config_file:
|
|
18
18
|
config_dir = os.path.abspath(os.path.expanduser('~/.config/znote'))
|
|
19
19
|
config_file = os.path.join(config_dir, "config.yml")
|
|
20
20
|
|
|
@@ -10,7 +10,7 @@ class Settings:
|
|
|
10
10
|
{'module': 'core.config', 'submodule': ['Config']},
|
|
11
11
|
)
|
|
12
12
|
def __init__(self, config_file=None):
|
|
13
|
-
if config_file:
|
|
13
|
+
if not config_file:
|
|
14
14
|
config_dir = os.path.abspath(os.path.expanduser('~/.config/znote'))
|
|
15
15
|
config_file = os.path.join(config_dir, "config.yml")
|
|
16
16
|
|
|
@@ -35,7 +35,9 @@ class Settings:
|
|
|
35
35
|
|
|
36
36
|
self.data_dir = self.config.get('server.data_dir', default=None, auto_set=False)
|
|
37
37
|
|
|
38
|
-
if
|
|
38
|
+
if self.data_dir:
|
|
39
|
+
self.data_dir = os.path.join(self.config_dir, self.data_dir)
|
|
40
|
+
else:
|
|
39
41
|
self.data_dir = os.path.join(self.config_dir, "znote.db")
|
|
40
42
|
|
|
41
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: znote
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Vault de prise de note
|
|
5
5
|
Author:
|
|
6
6
|
License: mit
|
|
@@ -18,6 +18,7 @@ Requires-Dist: prompt_toolkit
|
|
|
18
18
|
Requires-Dist: dill
|
|
19
19
|
Requires-Dist: impmagic
|
|
20
20
|
Requires-Dist: pyyaml
|
|
21
|
+
Requires-Dist: cryptography
|
|
21
22
|
Dynamic: description
|
|
22
23
|
Dynamic: description-content-type
|
|
23
24
|
Dynamic: keywords
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|