From ffbe4291d7bd447013b2d4d76dfa94889c949d44 Mon Sep 17 00:00:00 2001 From: chenyue Date: Thu, 30 Jul 2026 20:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=B7=AF=E5=BE=84=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=B6=E4=B8=8D=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xy2-100-bsl/pd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xy2-100-bsl/pd.py b/xy2-100-bsl/pd.py index 554afb9..3388299 100644 --- a/xy2-100-bsl/pd.py +++ b/xy2-100-bsl/pd.py @@ -184,7 +184,8 @@ class Decoder(srd.Decoder): pos = pos if pos < 131072 else pos - 262144 if(is_y==1): self.y=pos - self.file.write('%d,%d,%d\n' % (self.x, self.y, self.z)) + if self.filename != "": + self.file.write('%d,%d,%d\n' % (self.x, self.y, self.z)) else: self.x=pos # 显示原始位置