znote 1.2.1__tar.gz → 1.2.2__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 (30) hide show
  1. {znote-1.2.1/znote.egg-info → znote-1.2.2}/PKG-INFO +1 -1
  2. {znote-1.2.1 → znote-1.2.2}/znote/server.py +6 -6
  3. {znote-1.2.1 → znote-1.2.2/znote.egg-info}/PKG-INFO +1 -1
  4. {znote-1.2.1 → znote-1.2.2}/LICENSE +0 -0
  5. {znote-1.2.1 → znote-1.2.2}/README.md +0 -0
  6. {znote-1.2.1 → znote-1.2.2}/setup.cfg +0 -0
  7. {znote-1.2.1 → znote-1.2.2}/znote/__init__.py +0 -0
  8. {znote-1.2.1 → znote-1.2.2}/znote/app/display.py +0 -0
  9. {znote-1.2.1 → znote-1.2.2}/znote/app/input.py +0 -0
  10. {znote-1.2.1 → znote-1.2.2}/znote/client.py +0 -0
  11. {znote-1.2.1 → znote-1.2.2}/znote/core/auth.py +0 -0
  12. {znote-1.2.1 → znote-1.2.2}/znote/core/client/connect.py +0 -0
  13. {znote-1.2.1 → znote-1.2.2}/znote/core/client/fetch.py +0 -0
  14. {znote-1.2.1 → znote-1.2.2}/znote/core/client/metafile.py +0 -0
  15. {znote-1.2.1 → znote-1.2.2}/znote/core/client/settings.py +0 -0
  16. {znote-1.2.1 → znote-1.2.2}/znote/core/client/token.py +0 -0
  17. {znote-1.2.1 → znote-1.2.2}/znote/core/config.py +0 -0
  18. {znote-1.2.1 → znote-1.2.2}/znote/core/editor.py +0 -0
  19. {znote-1.2.1 → znote-1.2.2}/znote/core/gen.py +0 -0
  20. {znote-1.2.1 → znote-1.2.2}/znote/core/pack.py +0 -0
  21. {znote-1.2.1 → znote-1.2.2}/znote/core/server/note.py +0 -0
  22. {znote-1.2.1 → znote-1.2.2}/znote/core/server/settings.py +0 -0
  23. {znote-1.2.1 → znote-1.2.2}/znote/core/workspace.py +0 -0
  24. {znote-1.2.1 → znote-1.2.2}/znote/main.py +0 -0
  25. {znote-1.2.1 → znote-1.2.2}/znote/model/models.py +0 -0
  26. {znote-1.2.1 → znote-1.2.2}/znote.egg-info/SOURCES.txt +0 -0
  27. {znote-1.2.1 → znote-1.2.2}/znote.egg-info/dependency_links.txt +0 -0
  28. {znote-1.2.1 → znote-1.2.2}/znote.egg-info/entry_points.txt +0 -0
  29. {znote-1.2.1 → znote-1.2.2}/znote.egg-info/requires.txt +0 -0
  30. {znote-1.2.1 → znote-1.2.2}/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.1
3
+ Version: 1.2.2
4
4
  Summary: Vault de prise de note
5
5
  Author:
6
6
  License: mit
@@ -604,7 +604,7 @@ class ThreadClient(threading.Thread):
604
604
  channel.channel_hash=generate_unique_hash()
605
605
 
606
606
  logs(f"[{self.get_name_user()}] - channel: {message['channel_name']} - {message['name']} publié", "success")
607
- payload = {'method': 'notify', 'message': f'{message['name']} publié', 'status_code': 'success'}
607
+ payload = {'method': 'notify', 'message': f"{message['name']} publié", 'status_code': 'success'}
608
608
 
609
609
 
610
610
 
@@ -627,7 +627,7 @@ class ThreadClient(threading.Thread):
627
627
 
628
628
  pony.commit()
629
629
 
630
- payload = {'method': 'notify', 'message': f'channel {message['channel_name']} purgé', 'status_code': 'success'}
630
+ payload = {'method': 'notify', 'message': f"channel {message['channel_name']} purgé", 'status_code': 'success'}
631
631
 
632
632
 
633
633
  elif message['action']=="fetch_hash":
@@ -635,7 +635,7 @@ class ThreadClient(threading.Thread):
635
635
  if channel:
636
636
  payload = {'method': 'channel', 'action': 'fetch_hash', 'channel_hash': channel.channel_hash}
637
637
  else:
638
- payload = {'method': 'notify', 'message': f'channel {message['channel_name']} introuvable', 'status_code': 'error'}
638
+ payload = {'method': 'notify', 'message': f"channel {message['channel_name']} introuvable", 'status_code': 'error'}
639
639
 
640
640
 
641
641
  elif message['action']=="fetch" or message['action']=="diff":
@@ -661,7 +661,7 @@ class ThreadClient(threading.Thread):
661
661
  payload[element] = message[element]
662
662
 
663
663
  else:
664
- payload = {'method': 'notify', 'message': f'channel {message['channel_name']} introuvable', 'status_code': 'error'}
664
+ payload = {'method': 'notify', 'message': f"channel {message['channel_name']} introuvable", 'status_code': 'error'}
665
665
 
666
666
  elif message['action']=="list":
667
667
  query = __main__.settings.orm.Channel.select()
@@ -692,7 +692,7 @@ class ThreadClient(threading.Thread):
692
692
  payload = {'method': 'channel', 'action': 'info', 'channel_info': channel_info}
693
693
 
694
694
  else:
695
- payload = {'method': 'notify', 'message': f'channel {message['channel_name']} introuvable', 'status_code': 'error'}
695
+ payload = {'method': 'notify', 'message': f"channel {message['channel_name']} introuvable", 'status_code': 'error'}
696
696
 
697
697
  elif message['action']=="tree":
698
698
  if "channel_name" in message:
@@ -709,7 +709,7 @@ class ThreadClient(threading.Thread):
709
709
  payload = {'method': 'channel', 'action': 'tree', 'list_files': list_files}
710
710
 
711
711
  else:
712
- payload = {'method': 'notify', 'message': f'channel {message['channel_name']} introuvable', 'status_code': 'error'}
712
+ payload = {'method': 'notify', 'message': f"channel {message['channel_name']} introuvable", 'status_code': 'error'}
713
713
 
714
714
 
715
715
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: znote
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Vault de prise de note
5
5
  Author:
6
6
  License: mit
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