Change the xkcd link in comment over https. (GH-9293)

(cherry picked from commit 83df50ea57)

Co-authored-by: 觉 <Xdminsy@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2018-09-14 09:28:07 -07:00 committed by Benjamin Peterson
parent c974051d73
commit bd979b2d2b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def geohash(latitude, longitude, datedow):
37.857713 -122.544543
'''
# http://xkcd.com/426/
# https://xkcd.com/426/
h = hashlib.md5(datedow).hexdigest()
p, q = [('%f' % float.fromhex('0.' + x)) for x in (h[:16], h[16:32])]
print('%d%s %d%s' % (latitude, p[1:], longitude, q[1:]))