From 151d40f98818fae56f54e39c185fa9602d5b6181 Mon Sep 17 00:00:00 2001 From: neuromancer Date: Sat, 5 Mar 2022 21:00:09 +0100 Subject: [PATCH] ICONS: corrected typo in run_git when changing the locale to C --- 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()