summaryrefslogtreecommitdiff
path: root/python2/examples/transient_file_tornado.py
diff options
context:
space:
mode:
Diffstat (limited to 'python2/examples/transient_file_tornado.py')
-rw-r--r--python2/examples/transient_file_tornado.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python2/examples/transient_file_tornado.py b/python2/examples/transient_file_tornado.py
index 554f3cd..a3347d3 100644
--- a/python2/examples/transient_file_tornado.py
+++ b/python2/examples/transient_file_tornado.py
@@ -14,6 +14,7 @@ class EventHandler(pyinotify.ProcessEvent):
ioloop = IOLoop.instance()
notifier = pyinotify.TornadoAsyncNotifier(wm, ioloop)
#daemon.pids['nginx']
-wdd = wm.watch_transient_file('/tmp/test_file', pyinotify.IN_MODIFY, EventHandler)
+wdd = wm.watch_transient_file('/tmp/test_file', pyinotify.IN_MODIFY,
+ EventHandler)
-ioloop.start() \ No newline at end of file
+ioloop.start()