支持路径为空时不输出
This commit is contained in:
+2
-1
@@ -184,7 +184,8 @@ class Decoder(srd.Decoder):
|
|||||||
pos = pos if pos < 131072 else pos - 262144
|
pos = pos if pos < 131072 else pos - 262144
|
||||||
if(is_y==1):
|
if(is_y==1):
|
||||||
self.y=pos
|
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:
|
else:
|
||||||
self.x=pos
|
self.x=pos
|
||||||
# 显示原始位置
|
# 显示原始位置
|
||||||
|
|||||||
Reference in New Issue
Block a user