From 63faf4280d0655489ab0a8569c69efcd8f2e153d Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 21 Dec 2024 18:54:00 +0100 Subject: Fix failing tests --- gerbonara/excellon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/excellon.py') 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): -- cgit