From 377d14b1a4c7372f2576e78997d0018cf7047b98 Mon Sep 17 00:00:00 2001 From: Colin Davis Date: Thu, 28 Jun 2012 19:59:16 +0000 Subject: [PATCH] template --- templates/root.html | 5 +++-- webfront.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/root.html b/templates/root.html index 24b219c..0b30a7a 100644 --- a/templates/root.html +++ b/templates/root.html @@ -546,8 +546,9 @@ src="//static1.robohash.org/static/img/indented_star.png" width="27" height="25" Put either the email, or the hashed version, in your image where the string normally goes -

For example: http://robohash.org/colin@robohash.org?gravatar=yes
or http://robohash.org/620050a4db5104bae758cd75171d64ca?gravatar=hashed

-

Both traditional and new Stealthy (https) robots are available.

- +

Both traditional and new Stealthy (https) robots are available.

+

Finally, the Blueprints are available to build your own robotic + factory.

diff --git a/webfront.py b/webfront.py index e3f6ca1..d4934b9 100755 --- a/webfront.py +++ b/webfront.py @@ -278,7 +278,7 @@ class ImgHandler(tornado.web.RequestHandler): string = urllib.quote(string) default = "404" # construct the url - gravatar_url = self.request.protocol + "://www.gravatar.com/avatar/" + string + "?" + gravatar_url = "http://www.gravatar.com/avatar/" + string + "?" gravatar_url += urllib.urlencode({'default':default, 'size':str(sizey)}) try: f = urllib2.urlopen(urllib2.Request(gravatar_url))