From 04c709275685bf137903337a52c9ed4768b7811e Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 3 Aug 2012 03:21:07 -0400 Subject: [PATCH] width should be a string --- toolserver/background.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolserver/background.py b/toolserver/background.py index bca7de4..9ab8efa 100644 --- a/toolserver/background.py +++ b/toolserver/background.py @@ -112,4 +112,4 @@ def _build_url(screen, filename, url, imgwidth, imgheight): if width >= imgwidth: return url url = url.replace("/commons/", "/commons/thumb/") - return url + "/" + width + "px-" + filename + return url + "/" + str(width) + "px-" + filename