summaryrefslogtreecommitdiff
path: root/gerbonara/excellon.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-12-21 18:54:00 +0100
committerjaseg <git@jaseg.de>2024-12-21 18:54:00 +0100
commit63faf4280d0655489ab0a8569c69efcd8f2e153d (patch)
treecbb0c1216b4f96f97640bd1d546fc0f243c28792 /gerbonara/excellon.py
parent7fb8215a1e2a72e235aa8f3d0580ebdae611a5b2 (diff)
downloadgerbonara-63faf4280d0655489ab0a8569c69efcd8f2e153d.tar.gz
gerbonara-63faf4280d0655489ab0a8569c69efcd8f2e153d.tar.bz2
gerbonara-63faf4280d0655489ab0a8569c69efcd8f2e153d.zip
Fix failing testsmain
Diffstat (limited to 'gerbonara/excellon.py')
-rwxr-xr-xgerbonara/excellon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/excellon.py b/gerbonara/excellon.py
index 73f9592..a2ee15f 100755
--- a/gerbonara/excellon.py
+++ b/gerbonara/excellon.py
@@ -783,7 +783,7 @@ class ExcellonParser(object):
def do_move(self, coord_groups):
x_s, x, y_s, y = coord_groups
- if '.' not in x:
+ if (x is not None and '.' not in x) or (y is not None and '.' not in y):
self.settings._file_has_fixed_width_coordinates = True
if self.settings.number_format == (None, None):