Skip to content

Commit

Permalink
fix(utils): use semantic operator
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Aug 11, 2016
1 parent dce3878 commit 5c8402e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filetype/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def get_bytes(obj):
"""
kind = type(obj)

if kind == bytearray:
if kind is bytearray:
return signature(obj)

if kind == str:
if kind is str:
return get_signature_bytes(obj)

if kind is bytes:
Expand Down

0 comments on commit 5c8402e

Please sign in to comment.