This website works better with JavaScript.
Home
Help
Sign In
ben
/
copyvios
mirror of
https://github.com/earwig/copyvios
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
width should be a string
pull/24/head
Ben Kurtovic
12 years ago
parent
dc96cf1a2e
commit
04c7092756
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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:
return url
url = url.replace("/commons/", "/commons/thumb/")
return url + "/" + width + "px-" + filename
return url + "/" +
str(
width
)
+ "px-" + filename
Write
Preview
Loading…
Cancel
Save