Improve web finalisation navigation, caching and Anot support

This commit is contained in:
sebastien committed 2026-11-03 11:38:39 +01:00
1 parent 5de70dbc0d
commit b069805988
21 files changed
+339 -58

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ class WebSession:
try:
self.service = Finalisation(root, mode, self.lease.token, self.lease.stream.fileno(), repository=repository)
if not self.service.copies():
raise ValueError('Lisez les annotations manuscrites dans ce mode avant d’ouvrir la finalisation web.')
raise ValueError('Générez les copies Anot, ou lisez les annotations Bnot/BGnot, avant d’ouvrir la finalisation web.')
self.token = secrets.token_urlsafe(32)
self.socket = socket.socket()
self.socket.bind(('127.0.0.1', 0))