From d958858d00e1e407ed2b4be8e37f5daccc5eb328 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 19 Jan 2014 14:45:14 +0200 Subject: [PATCH] tornado 3.x no longer has the IOLoop.running() method --- motioneye.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/motioneye.py b/motioneye.py index 3474511..4c77a42 100755 --- a/motioneye.py +++ b/motioneye.py @@ -103,9 +103,8 @@ def _configure_signals(): # shut down the IO loop if it has been started ioloop = tornado.ioloop.IOLoop.instance() - if ioloop.running(): - ioloop.stop() - logging.info('server stopped') + ioloop.stop() + logging.info('server stopped') if thumbnailer.running(): thumbnailer.stop() -- 2.39.5