mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-12 03:18:47 +00:00
Fix typo for windows
This commit is contained in:
parent
4be277e353
commit
fa77fad0ff
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class Core(
|
||||||
from win32api import SetConsoleCtrlHandler
|
from win32api import SetConsoleCtrlHandler
|
||||||
from win32con import CTRL_CLOSE_EVENT
|
from win32con import CTRL_CLOSE_EVENT
|
||||||
result = 0
|
result = 0
|
||||||
def win_handler(self, ctrl_type):
|
def win_handler(ctrl_type):
|
||||||
if ctrl_type == CTRL_CLOSE_EVENT:
|
if ctrl_type == CTRL_CLOSE_EVENT:
|
||||||
self._shutdown()
|
self._shutdown()
|
||||||
result = 1
|
result = 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue