Skip to content

Commit

Permalink
fix: || to or
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceGin committed Jul 26, 2017
1 parent 2a51c8b commit 4b792c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haishoku/haillow.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

def get_image(image_path):
# if the image_path is a remote url, read the image at first
if image_path.startswith("http://") || image_path.startswith("https://"):
if image_path.startswith("http://") or image_path.startswith("https://"):
image_path = io.BytesIO(urllib.request.urlopen(image_path).read())

image = Image.open(image_path)
Expand Down

0 comments on commit 4b792c0

Please sign in to comment.