Skip to content

Commit 03d12a2

Browse files
committed
update
1 parent dc30951 commit 03d12a2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='talkops',
5-
version='1.3.3',
5+
version='1.3.4',
66
author='PicoUX',
77
description="TalkOps SDK",
88
long_description=open('README.md',encoding='utf-8').read(),

talkops/event_bus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _generate_event_state(self):
2929
return {"type": "state", "state": self._use_state()}
3030

3131
async def publish_event(self, event):
32-
data = json.dumps(event).encode()
32+
data = json.dumps(event, separators=(',', ':')).encode() + b'\n'
3333
await asyncio.to_thread(self._client.sendall, data)
3434

3535
async def _publish_state(self):

0 commit comments

Comments
 (0)