We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a45d2 commit 7184d08Copy full SHA for 7184d08
fileformats/core/datatype.py
@@ -125,7 +125,7 @@ def from_mime(cls, mime_string):
125
except ValueError:
126
raise FormatRecognitionError(
127
f"Format '{mime_string}' is not a valid MIME-like format of <namespace>/<format>"
128
- )
+ ) from None
129
else:
130
namespace = namespace.replace("-", "_")
131
# Attempt to load file type using their `iana_mime` attribute
0 commit comments