From 25e592c7489aac286417633c81b6873a955d3432 Mon Sep 17 00:00:00 2001 From: Dimitris Kalopisis <74763463+3ct0s@users.noreply.github.com> Date: Thu, 3 Feb 2022 21:12:05 +0200 Subject: [PATCH] updated debug code --- builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.py b/builder.py index b0d88eb..300d940 100644 --- a/builder.py +++ b/builder.py @@ -89,7 +89,7 @@ def build(webhook: str, out_file: str, debug: bool): compile_command += [of, "--onefile", "--noconsole", "--hidden-import=_cffi_backend", f"--icon={path.join('img','exe_file.ico')}"] if debug: - compile_command.pop(3) + compile_command.remove("--noconsole") try: command_result = run(args=compile_command, stdout=PIPE, stderr=PIPE)