diff options
Diffstat (limited to 'gerber/common.py')
-rw-r--r-- | gerber/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/common.py b/gerber/common.py index 6e8c862..83e3cb0 100644 --- a/gerber/common.py +++ b/gerber/common.py @@ -39,4 +39,5 @@ def read(filename): elif fmt == 'excellon': return excellon.read(filename) else: - return None + raise TypeError('Unable to detect file format') + |