From 9c628ea47b966c0eb22ba436d41b5ae15353dc63 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Tue, 28 Aug 2018 13:29:06 +0200 Subject: [PATCH] PICARD-1216: Do not allocate new console --- tagger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagger.py b/tagger.py index 34947d3a7..8b417507a 100755 --- a/tagger.py +++ b/tagger.py @@ -10,7 +10,7 @@ import sys # See https://stackoverflow.com/questions/54536/win32-gui-app-that-writes-usage-text-to-stdout-when-invoked-as-app-exe-help if sys.platform == "win32": from ctypes import windll - if windll.kernel32.AttachConsole(-1) or windll.kernel32.AllocConsole(-1): + if windll.kernel32.AttachConsole(-1): sys.stdout = open('CON', 'w') sys.stderr = open('CON', 'w')