From a924e765b59b8cabe2fedfd86e5b5cd864d031b1 Mon Sep 17 00:00:00 2001 From: neuromancer Date: Sat, 5 Mar 2022 21:09:05 +0100 Subject: [PATCH] ICONS: corrected typo in run_git when changing the locale to C (#157) --- gen-set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen-set.py b/gen-set.py index 9c553e0..eb77ac3 100644 --- a/gen-set.py +++ b/gen-set.py @@ -348,7 +348,7 @@ def write_iconsdat(changed_files: list) -> str: def run_git(*args): my_env = os.environ.copy() - env["LANG"] = "C" + my_env["LANG"] = "C" """ Executes a git command and returns the stdout (as line[])""" with subprocess.Popen(args=['git'] + list(args), stdout=subprocess.PIPE, env=my_env) as child_proc: return child_proc.stdout.readlines()