From 7227c97cacd6c3a7a1cf3d75e8dcd04e0eb71693 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 8 Aug 2011 10:42:06 -0700 Subject: [PATCH] Fix typo in Windows shutdown handler --- deluge/core/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/daemon.py b/deluge/core/daemon.py index 479b9d1e6..255e93249 100644 --- a/deluge/core/daemon.py +++ b/deluge/core/daemon.py @@ -109,7 +109,7 @@ class Daemon(object): def win_handler(ctrl_type): log.debug("ctrl_type: %s", ctrl_type) if ctrl_type == CTRL_CLOSE_EVENT or ctrl_type == CTRL_SHUTDOWN_EVENT: - self.__shutdown() + self._shutdown() return 1 SetConsoleCtrlHandler(win_handler)