mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
copy list so we don't obfuscate api key in original list
This commit is contained in:
parent
fc8c61fa3f
commit
4395db2b2d
@ -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 New Issue
Block a user