fix force refresh bug

This commit is contained in:
2026-05-27 11:23:23 +02:00
parent 5c170a195e
commit 7f5b144cff
6 changed files with 281 additions and 15 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ from watchdog.observers import Observer
from log.Logger import *
from hashes.hashes import hash_list
from htmlhandler import htmlhandler as Handler
from htmlhandler import htmlhandler
from lua import plugin_manager
# Import your LaTeX extension
@@ -259,7 +259,7 @@ if __name__ == "__main__":
Logger.log_warning("Using Python parser for all files")
initial_scan(MARKDOWN_DIR)
event_handler = Handler()
event_handler = htmlhandler(render_markdown, remove_html)
observer = Observer()
observer.schedule(event_handler, str(MARKDOWN_DIR), recursive=True)
observer.start()