Обновить execute.py
This commit is contained in:
@@ -21,7 +21,12 @@ sample_string_bytes = sample_string.encode("utf-8")
|
||||
base64_bytes = base64.b64encode(sample_string_bytes)
|
||||
base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8")
|
||||
|
||||
cmd = 'git -c http.'+GITHUB_SERVER_URL+'/.extraheader="'+base64_string+'" clone ' + \
|
||||
config = 'http.'+GITHUB_SERVER_URL+'/.extraheader="'+base64_string+'"'
|
||||
cmd = 'git config --global ' + config
|
||||
os.system(cmd)
|
||||
cmd = 'git config list '
|
||||
os.system(cmd)
|
||||
cmd = 'git clone ' + \
|
||||
GITHUB_SERVER_URL + '/' + \
|
||||
GITHUB_REPOSITORY
|
||||
print('cmd:', cmd)
|
||||
|
||||
Reference in New Issue
Block a user