diff options
| author | tim b <timb@camcompu.home> | 2010-09-26 21:57:42 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-09-26 21:57:42 -0700 |
| commit | b576b4af9080f60ad9888d6d47bfd24b137af588 (patch) | |
| tree | 4c21e79dc6eb77367cb5eb378f384f5d7885f6ff | |
| parent | d9266105bd0171c7d36a05ce4bb1b2bcc690e114 (diff) | |
make stored urls smaller. make s3 urls equiv to dump urls
| -rw-r--r-- | scripts/fill.image_urls.py | 2 |
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 |
