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.
Files changed (31) hide show
  1. {znote-1.2.2/znote.egg-info → znote-1.2.4}/PKG-INFO +2 -1
  2. znote-1.2.4/znote/app/display.p +0 -0
  3. {znote-1.2.2 → znote-1.2.4}/znote/core/client/settings.py +1 -1
  4. {znote-1.2.2 → znote-1.2.4}/znote/core/server/settings.py +4 -2
  5. {znote-1.2.2 → znote-1.2.4/znote.egg-info}/PKG-INFO +2 -1
  6. {znote-1.2.2 → znote-1.2.4}/znote.egg-info/SOURCES.txt +1 -0
  7. {znote-1.2.2 → znote-1.2.4}/znote.egg-info/requires.txt +1 -0
  8. {znote-1.2.2 → znote-1.2.4}/LICENSE +0 -0
  9. {znote-1.2.2 → znote-1.2.4}/README.md +0 -0
  10. {znote-1.2.2 → znote-1.2.4}/setup.cfg +0 -0
  11. {znote-1.2.2 → znote-1.2.4}/znote/__init__.py +0 -0
  12. {znote-1.2.2 → znote-1.2.4}/znote/app/display.py +0 -0
  13. {znote-1.2.2 → znote-1.2.4}/znote/app/input.py +0 -0
  14. {znote-1.2.2 → znote-1.2.4}/znote/client.py +0 -0
  15. {znote-1.2.2 → znote-1.2.4}/znote/core/auth.py +0 -0
  16. {znote-1.2.2 → znote-1.2.4}/znote/core/client/connect.py +0 -0
  17. {znote-1.2.2 → znote-1.2.4}/znote/core/client/fetch.py +0 -0
  18. {znote-1.2.2 → znote-1.2.4}/znote/core/client/metafile.py +0 -0
  19. {znote-1.2.2 → znote-1.2.4}/znote/core/client/token.py +0 -0
  20. {znote-1.2.2 → znote-1.2.4}/znote/core/config.py +0 -0
  21. {znote-1.2.2 → znote-1.2.4}/znote/core/editor.py +0 -0
  22. {znote-1.2.2 → znote-1.2.4}/znote/core/gen.py +0 -0
  23. {znote-1.2.2 → znote-1.2.4}/znote/core/pack.py +0 -0
  24. {znote-1.2.2 → znote-1.2.4}/znote/core/server/note.py +0 -0
  25. {znote-1.2.2 → znote-1.2.4}/znote/core/workspace.py +0 -0
  26. {znote-1.2.2 → znote-1.2.4}/znote/main.py +0 -0
  27. {znote-1.2.2 → znote-1.2.4}/znote/model/models.py +0 -0
  28. {znote-1.2.2 → znote-1.2.4}/znote/server.py +0 -0
  29. {znote-1.2.2 → znote-1.2.4}/znote.egg-info/dependency_links.txt +0 -0
  30. {znote-1.2.2 → znote-1.2.4}/znote.egg-info/entry_points.txt +0 -0
  31. {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.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 not self.data_dir:
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.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
@@ -10,6 +10,7 @@ znote.egg-info/dependency_links.txt
10
10
  znote.egg-info/entry_points.txt
11
11
  znote.egg-info/requires.txt
12
12
  znote.egg-info/top_level.txt
13
+ znote/app/display.p
13
14
  znote/app/display.py
14
15
  znote/app/input.py
15
16
  znote/core/auth.py
@@ -9,3 +9,4 @@ prompt_toolkit
9
9
  dill
10
10
  impmagic
11
11
  pyyaml
12
+ cryptography
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