Browse Source

width should be a string

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
04c7092756
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      toolserver/background.py

+ 1
- 1
toolserver/background.py View File

@@ -112,4 +112,4 @@ def _build_url(screen, filename, url, imgwidth, imgheight):
if width >= imgwidth: if width >= imgwidth:
return url return url
url = url.replace("/commons/", "/commons/thumb/") url = url.replace("/commons/", "/commons/thumb/")
return url + "/" + width + "px-" + filename
return url + "/" + str(width) + "px-" + filename

Loading…
Cancel
Save