From 80af0730ec141b7881581c51b2549d0d0f39232b Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 11 Jul 2016 15:26:52 +0200 Subject: [PATCH] Update TODO --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index 688860ee..3a3964ab 100644 --- a/TODO +++ b/TODO @@ -17,7 +17,7 @@ class Identity(pyinotify.ProcessEvent): wm = pyinotify.WatchManager() notifier = pyinotify.Notifier(wm, default_proc_fun=Identity(), timeout=5) -wm.add_watch('/sys/devices/virtual/tty/tty0/active', pyinotify.INCLOSE_WRITE) +wm.add_watch('/sys/devices/virtual/tty/tty0/active', pyinotify.IN_CLOSE_WRITE) for file in list(glob.glob('/dev/vcsa[0-64]')): wm.add_watch(file, pyinotify.IN_CLOSE_WRITE) print(file)