[TASK] Remove unused watch masks.
This commit is contained in:
parent
9a26c3f8cb
commit
9a0b7b9e65
|
@ -64,15 +64,11 @@ class MonitorBotService(Service):
|
||||||
self._bot.msg(self._channel, msg)
|
self._bot.msg(self._channel, msg)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
watchMask = ( inotify.IN_MODIFY
|
watchMask = ( inotify.IN_MODIFY
|
||||||
| inotify.IN_CREATE
|
| inotify.IN_CREATE
|
||||||
| inotify.IN_DELETE
|
| inotify.IN_DELETE
|
||||||
| inotify.IN_DELETE_SELF
|
|
||||||
| inotify.IN_MOVED_FROM
|
| inotify.IN_MOVED_FROM
|
||||||
| inotify.IN_MOVED_TO
|
| inotify.IN_MOVED_TO )
|
||||||
| inotify.IN_MOVE_SELF )
|
|
||||||
|
|
||||||
notifier = inotify.INotify()
|
notifier = inotify.INotify()
|
||||||
notifier.startReading()
|
notifier.startReading()
|
||||||
|
|
Loading…
Reference in New Issue