mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
if statement for sighup in win32
This commit is contained in:
parent
9af94bda88
commit
f1fde2dcf0
@ -146,7 +146,9 @@ class DelugeGTK:
|
||||
|
||||
signal.signal(signal.SIGINT, self.manager.quit)
|
||||
signal.signal(signal.SIGTERM, self.manager.quit)
|
||||
signal.signal(signal.SIGHUP, self.manager.quit)
|
||||
import platform
|
||||
if platform.system() != "Windows":
|
||||
signal.signal(signal.SIGHUP, self.manager.quit)
|
||||
self.dht_timer = 0
|
||||
self.dht_skip = False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user