File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 except :
5959 init_simtime_ym = "[0.0, 0.0, 0.0]"
6060
61- print ( apikey )
61+ # Do not log API key for security reasons
6262print (yuyu )
6363print (name1 + '=' + init_simtime_u )
6464print (name2 + '=' + init_simtime_ym )
8383 u = concore .read (1 ,name1 ,init_simtime_u )
8484 f = {'file1' : open (concore .inpath + '1/' + name1 , 'rb' )}
8585 print ("CW: before post u=" + str (u ))
86- print ('http://www.controlcore.org/pm/' + yuyu + apikey + '&fetch=' + name2 )
86+ print ('http://www.controlcore.org/pm/' + yuyu + '<APIKEY_HIDDEN>' + '&fetch=' + name2 )
8787 r = requests .post ('http://www.controlcore.org/pm/' + yuyu + apikey + '&fetch=' + name2 , files = f ,timeout = timeout_max )
8888 if r .status_code != 200 :
8989 print ("bad POST request " + str (r .status_code ))
Original file line number Diff line number Diff line change 6161 except :
6262 init_simtime_ym = "[0.0, 0.0, 0.0]"
6363
64- print ( apikey )
64+ # Do not log API key for security reasons
6565print (yuyu )
6666print (name1 + '=' + init_simtime_u )
6767print (name2 + '=' + init_simtime_ym )
Original file line number Diff line number Diff line change 5858 except :
5959 init_simtime_ym = "[0.0, 0.0, 0.0]"
6060
61- print ( apikey )
61+ # Do not log API key for security reasons
6262print (yuyu )
6363print (name1 + '=' + init_simtime_u )
6464print (name2 + '=' + init_simtime_ym )
8383 u = concore .read (1 ,name1 ,init_simtime_u )
8484 f = {'file1' : open (concore .inpath + '1/' + name1 , 'rb' )}
8585 print ("CW: before post u=" + str (u ))
86- print ('http://www.controlcore.org/pm/' + yuyu + apikey + '&fetch=' + name2 )
86+ print ('http://www.controlcore.org/pm/' + yuyu + '<APIKEY_HIDDEN>' + '&fetch=' + name2 )
8787 r = requests .post ('http://www.controlcore.org/pm/' + yuyu + apikey + '&fetch=' + name2 , files = f ,timeout = timeout_max )
8888 if r .status_code != 200 :
8989 print ("bad POST request " + str (r .status_code ))
Original file line number Diff line number Diff line change 6161 except :
6262 init_simtime_ym = "[0.0, 0.0, 0.0]"
6363
64- print ( apikey )
64+ # Do not log API key for security reasons
6565print (yuyu )
6666print (name1 + '=' + init_simtime_u )
6767print (name2 + '=' + init_simtime_ym )
You can’t perform that action at this time.
0 commit comments