mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
better looking obfuscated api key
This commit is contained in:
parent
7f9d6ede9d
commit
c1da94bc18
@ -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 New Issue
Block a user