diff options
-rw-r--r-- | dealconvert/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/__init__.py b/dealconvert/__init__.py index 2f9b5aa..3b5a8ba 100644 --- a/dealconvert/__init__.py +++ b/dealconvert/__init__.py @@ -20,4 +20,4 @@ class DealConverter(object): deal_format.upper() + 'Format')() if self.formats[deal_format].match_file(filename): return self.formats[deal_format] - raise ValueError('Unrecognized file extension: %s' % filename) + raise RuntimeError('Unrecognized file extension: %s' % filename) |