Skip to content

Commit

Permalink
Support for new major version of watchdog. Fixes #3761. (#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknrdureegaesr authored Feb 22, 2024
1 parent 411ca50 commit dcc8e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/plugins/command/auto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,5 +620,5 @@ def __init__(self, configuration_filename, function, loop):

def dispatch(self, event):
"""Handle file events if they concern the configuration file."""
if event._src_path == self.configuration_filename:
if event.src_path == self.configuration_filename:
super().dispatch(event)
2 changes: 1 addition & 1 deletion requirements-extras.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ notebook>=6.0.0
ipykernel>=6.21.2
ghp-import>=1.0.0
aiohttp>=3.8.6
watchdog>=0.8.3
watchdog>=2.3.0
ruamel.yaml>=0.15.98
toml>=0.9.2
html5lib>=1.0.1

0 comments on commit dcc8e2e

Please sign in to comment.