better looking obfuscated api key
This commit is contained in:
parent
7f9d6ede9d
commit
c1da94bc18
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def obfuscate_apikey(command_list):
|
||||||
apikey_index = num + 1
|
apikey_index = num + 1
|
||||||
break
|
break
|
||||||
if apikey_index is not None and apikey_index < len(cmd):
|
if apikey_index is not None and apikey_index < len(cmd):
|
||||||
cmd[apikey_index] = '********-****-****-****-********' + cmd[apikey_index][-4:]
|
cmd[apikey_index] = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX' + cmd[apikey_index][-4:]
|
||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue