diff options
author | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2018-06-27 12:30:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 12:30:04 -0500 |
commit | 66a1a1ca69e2355ee0c1b146dafdd769353c9666 (patch) | |
tree | 179f5fba672dc6ac6a068c1a58a6e0e81ae5aa6d /gerber | |
parent | 31062ba2ce326bf3165c15b325b31b226dc69a11 (diff) | |
parent | 7cd3d53252181d1837b6a17961c420a4511b2326 (diff) | |
download | gerbonara-66a1a1ca69e2355ee0c1b146dafdd769353c9666.tar.gz gerbonara-66a1a1ca69e2355ee0c1b146dafdd769353c9666.tar.bz2 gerbonara-66a1a1ca69e2355ee0c1b146dafdd769353c9666.zip |
Merge pull request #85 from ju5t/skip-subdirectories
Skip subdirectories during import
Diffstat (limited to 'gerber')
-rw-r--r-- | gerber/pcb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gerber/pcb.py b/gerber/pcb.py index a213fb3..ba15161 100644 --- a/gerber/pcb.py +++ b/gerber/pcb.py @@ -48,6 +48,9 @@ class PCB(object): except ParseError: if verbose: print('[PCB]: Skipping file {}'.format(filename)) + except IOError: + if verbose: + print('[PCB]: Skipping file {}'.format(filename)) # Try to guess board name if board_name is None: |