summaryrefslogtreecommitdiff
path: root/mimeparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'mimeparse.py')
-rwxr-xr-xmimeparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mimeparse.py b/mimeparse.py
index c8047e7..1e06cc1 100755
--- a/mimeparse.py
+++ b/mimeparse.py
@@ -51,7 +51,7 @@ def parse_mime_type(mime_type):
full_type = '*/*'
if '/' not in full_type:
- raise MimeTypeParseException(u"Can't parse type \"{}\"".format(full_type))
+ raise MimeTypeParseException("Can't parse type \"{}\"".format(full_type))
(type, subtype) = full_type.split('/')