Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update test mask
  • Loading branch information
nyalldawson committed Oct 20, 2016
1 parent dc2df62 commit 7cfe041
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_test_mask_image.py
Expand Up @@ -53,7 +53,7 @@ def colorDiff(c1, c2):


def imageFromPath(path):
if (path[:7] == 'http://' or path[:7] == 'file://'):
if (path[:7] == 'http://' or path[:8] == 'https://' or path[:7] == 'file://'):
#fetch remote image
data = urllib2.urlopen(path).read()
image = QImage()
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7cfe041

Please sign in to comment.