diff --git a/src/watchdog/observers/kqueue.py b/src/watchdog/observers/kqueue.py index 424edff0e..7eb22f574 100644 --- a/src/watchdog/observers/kqueue.py +++ b/src/watchdog/observers/kqueue.py @@ -608,7 +608,7 @@ def _queue_renamed(self, try: dest_path = absolute_path( - new_snapshot.path_for_inode(ref_stat_info.st_ino)) + new_snapshot.path(ref_stat_info.st_ino)) if is_directory: event = DirMovedEvent(src_path, dest_path) # TODO: Do we need to fire moved events for the items