Skip to content

Commit a0fbf95

Browse files
committed
fix: 修复变量未定义的Bug
Signed-off-by: Ke Jie <[email protected]>
1 parent 2be1f94 commit a0fbf95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dingtalk_stream/stream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def open_connection(self):
151151
'localIp': self.get_host_ip()
152152
}).encode('utf-8')
153153

154+
http_body = None
154155
try:
155156
response = requests.post(DingTalkStreamClient.OPEN_CONNECTION_API,
156157
headers=request_headers,

0 commit comments

Comments
 (0)