Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from ju5t/skip-subdirectories
Browse files Browse the repository at this point in the history
Skip subdirectories during import
  • Loading branch information
hamiltonkibbe authored Jun 27, 2018
2 parents 31062ba + 7cd3d53 commit 66a1a1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gerber/pcb.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def from_directory(cls, directory, board_name=None, verbose=False):
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:
Expand Down

0 comments on commit 66a1a1c

Please sign in to comment.