From 4ca1fb24d2295ec24b78edfdfcdc9f6fdba7cf02 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sun, 12 Mar 2017 13:16:03 +0300 Subject: [PATCH] Disable reporting for debug mode --- blockcheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blockcheck.py b/blockcheck.py index 8deec77..945cd29 100755 --- a/blockcheck.py +++ b/blockcheck.py @@ -797,7 +797,7 @@ if __name__ == "__main__": help='Не проверять доступность сайтов через {}.' \ .format(isup_server)) parser.add_argument('--force-dpi-check', action='store_true', help='Выполнить проверку DPI, даже если провайдер не блокирует сайты.') - parser.add_argument('--debug', action='store_true', help='Включить режим отладки.') + parser.add_argument('--debug', action='store_true', help='Включить режим отладки (и --no-report).') args = parser.parse_args() if args.console: @@ -814,6 +814,7 @@ if __name__ == "__main__": if args.debug: debug = True + disable_report = True if tkusable: root = tk.Tk()