copy list so we don't obfuscate api key in original list
This commit is contained in:
parent
fc8c61fa3f
commit
4395db2b2d
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ def python_binary():
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def obfuscate_apikey(cmd):
|
def obfuscate_apikey(command_list):
|
||||||
|
cmd = list(command_list)
|
||||||
apikey_index = None
|
apikey_index = None
|
||||||
for num in range(len(cmd)):
|
for num in range(len(cmd)):
|
||||||
if cmd[num] == '--key':
|
if cmd[num] == '--key':
|
||||||
|
|
Loading…
Reference in a new issue