v0.12.6 #10

Merged
serversdown merged 43 commits from seismo-lab-new into main 2026-05-04 13:22:56 -04:00
Showing only changes of commit b14f31f3b0 - Show all commits
+4 -2
View File
@@ -479,8 +479,10 @@ class BridgePanel(tk.Frame):
logdir = self.logdir_var.get().strip() or "."
os.makedirs(logdir, exist_ok=True)
ts = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
bw_path = os.path.join(logdir, f"raw_bw_{ts}.bin")
s3_path = os.path.join(logdir, f"raw_s3_{ts}.bin")
safe_label = self._cap_label.replace(" ", "_") if self._cap_label else ""
suffix = f"_{safe_label}" if safe_label else ""
bw_path = os.path.join(logdir, f"raw_bw_{ts}{suffix}.bin")
s3_path = os.path.join(logdir, f"raw_s3_{ts}{suffix}.bin")
with self._tcp_cap_lock:
self._tcp_cap_bw_fh = open(bw_path, "wb")
self._tcp_cap_s3_fh = open(s3_path, "wb")