Skip to content

Commit

Permalink
I keep forgetting style, I need to install precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMariday committed Jul 31, 2024
1 parent 6fad90a commit c69c524
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions marimapper/led_map_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ def _load(self, filename):
index = int(line[0])
u = float(line[1])
v = float(line[2])
except (IndexError, ValueError) as e:
except (IndexError, ValueError):
logging.error(f"Failed to read line {i} of {filename}: {line}")
continue

self.add_detection(index, LEDDetection(u, v))


return True

def __len__(self):
Expand Down

0 comments on commit c69c524

Please sign in to comment.