fix log message

This commit is contained in:
2020-11-26 13:39:06 +01:00
parent f9ee0c92cb
commit 769687bca6

View File

@@ -134,7 +134,7 @@ class TaskScheduler:
except asyncio.CancelledError: except asyncio.CancelledError:
logger.warning("ongoing task cancelled") logger.warning("ongoing task cancelled")
else: else:
self._log.info("task finished") logger.info("task finished")
finally: finally:
del self._tasks[event.pathname] del self._tasks[event.pathname]