From 2e4c0d4ca92175d907af61b197ef4e3a1cc091d4 Mon Sep 17 00:00:00 2001 From: Elias Ohm Date: Sat, 22 Sep 2018 18:48:39 +0200 Subject: [PATCH] fixed small (nut important) bug in debug-log [caused by copy&pasting the block from my script that currently need to subclass INotify for different reasons...) --- inotify/adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotify/adapters.py b/inotify/adapters.py index 2b677e3..af277f9 100644 --- a/inotify/adapters.py +++ b/inotify/adapters.py @@ -125,7 +125,7 @@ def remove_watch(self, path, superficial=False): wd = self.__watches.get(path) if wd is None: - _LOGGER.warning("Path not in watch list: [%s]", path_unicode) + _LOGGER.warning("Path not in watch list: [%s]", path) return self._remove_watch(wd, path, superficial)