From 5a68c2e19c102b40150f34af034c5065647a1e4b Mon Sep 17 00:00:00 2001 From: dynobo Date: Tue, 22 Jun 2021 09:20:29 +0200 Subject: [PATCH] Remove return --- build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.py b/build.py index 46d731d45..d599d71ac 100644 --- a/build.py +++ b/build.py @@ -72,7 +72,7 @@ ] -def cmd(cmd_str: str) -> str: +def cmd(cmd_str: str): """Wraps subprocess.run().""" completed_proc = subprocess.run( # pylint: disable=subprocess-run-check cmd_str, shell=True @@ -84,7 +84,6 @@ def cmd(cmd_str: str) -> str: output=completed_proc.stdout, stderr=completed_proc.stderr, ) - return completed_proc.stdout.decode("utf-8") def prepare_windows_installer():