Python 3.11 and lower require alternating quote types in f-strings

This commit is contained in:
Queen Vinyl Da.i'gyu-Kazotetsu committed 2024-11-01 09:32:24 -07:00
1 parent e3180a8750
commit 928bc2cfd9
1 file changed
+2 -2
+2 -2
View File
@@ -85,7 +85,7 @@ def discoverKeys():
# -c specifies commands within proxmark 3 software
cmd_list = [pm3Location / pm3Command,"-o","-c", f"trace load -f {trace}; trace list -1 -t mf -f {dictionaryFilepath}; exit"];
print(f"Viewing tracelog with {len(keyList)} discovered keys")
print(f"pm3 {" ".join(cmd_list[1:])}")
print(f"pm3 {' '.join(cmd_list[1:])}")
result = subprocess.run(cmd_list, shell=os.name == 'nt',stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output = result.stdout;
@@ -192,7 +192,7 @@ def bruteForce(args):
cmd_list = [pm3Location / mfNonceBruteCommand] + args
print(" Running bruteforce command:")
print(" ",end = "")
print(f"tools/mf_nonce_brute {" ".join(cmd_list[1:])}")
print(f"tools/mf_nonce_brute {' '.join(cmd_list[1:])}")
result = subprocess.run(cmd_list, shell=os.name == 'nt', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
#Parse out the key