Skip to content

Commit

Permalink
fix(tests): call proper function
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Jun 20, 2016
1 parent 745173e commit a9d3516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filetype/filetype.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def guess_mime(obj):
Raises:
TypeError: if obj is not a supported type.
"""
kind = guess_type(obj)
kind = guess(obj)
return kind.mime if kind else kind


Expand All @@ -58,7 +58,7 @@ def guess_extension(obj):
Raises:
TypeError: if obj is not a supported type.
"""
kind = guess_type(obj)
kind = guess(obj)
return kind.extension if kind else kind


Expand Down

0 comments on commit a9d3516

Please sign in to comment.