Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed May 16, 2023
1 parent 2ef798d commit c360cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rembg/sessions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def predict(self, img: PILImage, *args, **kwargs) -> List[PILImage]:

@classmethod
def checksum_disabled(cls, *args, **kwargs):
return os.getenv("MODEL_CHECKSUM_DISABLED", None) != None
return os.getenv("MODEL_CHECKSUM_DISABLED", None) is not None

@classmethod
def u2net_home(cls, *args, **kwargs):
Expand Down

0 comments on commit c360cf6

Please sign in to comment.