summaryrefslogtreecommitdiff
path: root/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py')
-rw-r--r--gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py b/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py
index b3f9f51..3bfaad5 100644
--- a/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py
+++ b/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py
@@ -32,7 +32,7 @@ def map_line(line):
return 'X0Y0D02*M00*'
# Merge G01/02/03 with following coordinate
- if line in ('G01*', 'G02*', 'G03*'):
+ if line in ('G01*', 'G02*', 'G03*') and ('X' in line or 'Y' in line):
return line[:-1]
# Preserve line endings for header lines