we need to truncate next_bridge
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
b73ec856c4
commit
ee64f5868d
|
@ -209,7 +209,7 @@ class TeeworldsBridge:
|
|||
self.client.user_id = config["user_id"]
|
||||
self.client.device_id = config["device_id"]
|
||||
|
||||
with open("next_batch","a+") as next_batch_token:
|
||||
with open("next_batch","w+") as next_batch_token:
|
||||
self.client.next_batch = next_batch_token.read()
|
||||
|
||||
await self.client.room_send(mx_room_id, message_type="m.room.message", content={"msgtype": "m.text", "body": f"Starting Teeworlds bridge. Source code: {source_url}"})
|
||||
|
|
Loading…
Reference in New Issue