From fa77fad0ff7bab0b3fdc854125af3a530f572197 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 4 Jul 2008 21:39:16 +0000 Subject: [PATCH] Fix typo for windows --- deluge/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index ef33e9475..806002dd4 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -177,7 +177,7 @@ class Core( from win32api import SetConsoleCtrlHandler from win32con import CTRL_CLOSE_EVENT result = 0 - def win_handler(self, ctrl_type): + def win_handler(ctrl_type): if ctrl_type == CTRL_CLOSE_EVENT: self._shutdown() result = 1