Fix Helper Connection

This commit is contained in:
SuperSonic 2019-08-26 23:43:03 +08:00
parent 12f0a5aad1
commit 4318832619

View file

@ -59,7 +59,7 @@ class Yuuki_Connect:
return client, listen return client, listen
def helperConnect(self, LINE_ACCESS_KEY): def helperConnect(self, LINE_ACCESS_KEY):
helper_ConnectHeader = self.con_header helper_ConnectHeader = self.con_header.copy()
helper_ConnectHeader["X-Line-Access"] = LINE_ACCESS_KEY helper_ConnectHeader["X-Line-Access"] = LINE_ACCESS_KEY
transport = THttpClient.THttpClient(self.host + self.com_path) transport = THttpClient.THttpClient(self.host + self.com_path)