Skip to content

Commit

Permalink
fix: new version to fix https error
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceGin committed Jul 19, 2017
1 parent 201eb7d commit 2a51c8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TODO.md
Expand Up @@ -24,4 +24,4 @@

13. show the percentage information with the palette. ( √ )

14. load image instance from a remote url.
14. load image instance from a remote url. (√)
2 changes: 1 addition & 1 deletion haishoku/__init__.py
@@ -1,3 +1,3 @@
# haishoki means blendent in Japanese, it will return the design works' palette.

__version__ = "1.1.4"
__version__ = "1.1.5"
2 changes: 1 addition & 1 deletion haishoku/haillow.py
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://"):
if image_path.startswith("http://") || image_path.startswith("https://"):
image_path = io.BytesIO(urllib.request.urlopen(image_path).read())

image = Image.open(image_path)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -20,7 +20,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.4',
version='1.1.5',

description='A development tool for grabbing the dominant color or representative color palette from an image.',
long_description='Haishoku is a development tool for grabbing the dominant color or representative color palette from an image, it depends on Python3 and Pillow.',
Expand Down

0 comments on commit 2a51c8b

Please sign in to comment.