Mercurial > sat_legacy_website
comparison sat_website/screenshots.py @ 79:6652924221ba
change external base URLs from FTP to HTTP
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 09 Jun 2015 23:18:21 +0200 |
parents | 746e53efc188 |
children | e44ec327ba4c |
comparison
equal
deleted
inserted
replaced
78:6250b65523c6 | 79:6652924221ba |
---|---|
25 import os.path | 25 import os.path |
26 | 26 |
27 ImageDesc = namedtuple("ImageDesc", "path description data") | 27 ImageDesc = namedtuple("ImageDesc", "path description data") |
28 VideoDesc = namedtuple("VideoDesc", "path description poster data") | 28 VideoDesc = namedtuple("VideoDesc", "path description poster data") |
29 | 29 |
30 media_path = os.path.normpath(settings.MEDIA_EXTERNAL_URL) | 30 screencasts = os.path.join(settings.MEDIA_EXTERNAL_URL, "screencasts") + "/" |
31 screencasts = os.path.join(media_path, "screencasts") + "/" | |
32 | 31 |
33 | 32 |
34 #list the pictures | 33 #list the pictures |
35 | 34 |
36 screenshots = [ | 35 screenshots = [ |