summaryrefslogtreecommitdiff
path: root/scripts/fill.image_urls.py
diff options
context:
space:
mode:
authortim b <timb@camcompu.home>2010-09-26 21:57:42 -0700
committertim b <timb@camcompu.home>2010-09-26 21:57:42 -0700
commitb576b4af9080f60ad9888d6d47bfd24b137af588 (patch)
tree4c21e79dc6eb77367cb5eb378f384f5d7885f6ff /scripts/fill.image_urls.py
parentd9266105bd0171c7d36a05ce4bb1b2bcc690e114 (diff)
make stored urls smaller. make s3 urls equiv to dump urls
Diffstat (limited to 'scripts/fill.image_urls.py')
-rw-r--r--scripts/fill.image_urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fill.image_urls.py b/scripts/fill.image_urls.py
index 535d6f8..79280b9 100644
--- a/scripts/fill.image_urls.py
+++ b/scripts/fill.image_urls.py
@@ -61,7 +61,7 @@ def make_url_smaller(url):
if url[:37] == 'http://dumpfm.s3.amazonaws.com/images':
url = 'http://dump.fm/images' + url[37:]
if url[:21] == 'http://dump.fm/images':
- url = [21:]
+ url = url[21:]
else:
url = url[7:]
return url