From e5f3b3564587163b0905f065ffe95996641d7ad5 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Wed, 18 Sep 2019 01:32:35 +0900 Subject: [PATCH] fix --- nohang | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nohang b/nohang index 4d0e433..33044cd 100755 --- a/nohang +++ b/nohang @@ -2769,12 +2769,15 @@ debug_sleep = conf_parse_bool('debug_sleep') low_memory_warnings_enabled = conf_parse_bool('low_memory_warnings_enabled') +post_action_gui_notifications = conf_parse_bool( + 'post_action_gui_notifications') + + if low_memory_warnings_enabled or post_action_gui_notifications: from subprocess import Popen, TimeoutExpired -post_action_gui_notifications = conf_parse_bool( - 'post_action_gui_notifications') + debug_threading = conf_parse_bool('debug_threading')