diff options
author | jaseg <git@jaseg.de> | 2024-12-21 18:54:00 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-12-21 18:54:00 +0100 |
commit | 63faf4280d0655489ab0a8569c69efcd8f2e153d (patch) | |
tree | cbb0c1216b4f96f97640bd1d546fc0f243c28792 /gerbonara/excellon.py | |
parent | 7fb8215a1e2a72e235aa8f3d0580ebdae611a5b2 (diff) | |
download | gerbonara-63faf4280d0655489ab0a8569c69efcd8f2e153d.tar.gz gerbonara-63faf4280d0655489ab0a8569c69efcd8f2e153d.tar.bz2 gerbonara-63faf4280d0655489ab0a8569c69efcd8f2e153d.zip |
Fix failing testsmain
Diffstat (limited to 'gerbonara/excellon.py')
-rwxr-xr-x | gerbonara/excellon.py | 2 |
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): |