From 642837f960ed882b1a04809c29ba9d628da0be72 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Thu, 5 Nov 2020 12:54:32 +0100 Subject: [PATCH] change startup log messages --- pyinotifyd/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyinotifyd/__init__.py b/pyinotifyd/__init__.py index e6831ab..22add87 100755 --- a/pyinotifyd/__init__.py +++ b/pyinotifyd/__init__.py @@ -59,10 +59,11 @@ class Pyinotifyd: def start(self, loop=None): assert len(self._watches) > 0, \ - "pyinotifyd: unable to start, no watches set" + "pyinotifyd: unable to start, no watches configured" if not loop: loop = self._loop + self._log.info("starting") for watch in self._watches: self._log.info(f"start watching '{watch.path}' for inotify events") self._notifiers.append(watch.event_notifier(self._wm, loop))