fix force refresh bug
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user