Update traceKeyExtractor.py

Co-authored-by: thekakester <mitch@douglasinnovation.com>
This commit is contained in:
Queen Vinyl Da.i'gyu-Kazotetsuandthekakester authored and GitHub committed 2024-05-28 22:08:35 -07:00
1 parent 8b1d1777ce
commit a3a086fa92
1 file changed
+3 -1
+3 -1
View File
@@ -58,7 +58,9 @@ def main():
# Check the return code to determine if the command was successful
if result.returncode == 0 or result.returncode == 1:
print("Found installation via Homebrew!")
pm3Location = Path(result.stdout)
pm3Location = result.stdout.decode("utf-8")
pm3Location = pm3Location.replace("\n","").replace("\r","")
pm3Location = Path(pm3Location)
except Exception as e:
# If Homebrew command failed, it's probably not installed
pass