summaryrefslogtreecommitdiff
path: root/git/objects/blob.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/objects/blob.py')
-rw-r--r--git/objects/blob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/blob.py b/git/objects/blob.py
index b027adab..a6a5b224 100644
--- a/git/objects/blob.py
+++ b/git/objects/blob.py
@@ -24,7 +24,7 @@ class Blob(base.IndexObject):
__slots__ = ()
@property
- def mime_type(self) -> Union[None, Tuple[Union[None, str], Union[None, str]]]:
+ def mime_type(self) -> Union[None, str, Tuple[Union[None, str], Union[None, str]]]:
"""
:return: String describing the mime type of this file (based on the filename)
:note: Defaults to 'text/plain' in case the actual file type is unknown. """