append to exitign file if recording is stipped and restarted

This commit is contained in:
2026-03-06 19:54:49 +00:00
parent 190e34accf
commit bcef63ceb1
+1 -1
View File
@@ -95,7 +95,7 @@ class Client():
self.bytes_recorded = 0
with open(self.output_pathname(), "wb") as outf:
with open(self.output_pathname(), "ab") as outf:
while self.started:
print("sending subscribe")
b = self.session_key + bytes([interval >> 8, interval & 0xff, 0x54, 0x11, 0, 25] )