Fixed Debian-specific download page

This commit is contained in:
str4d
2013-07-18 04:40:31 +00:00
parent d091f452f0
commit cfa269afba
4 changed files with 7 additions and 3 deletions

View File

@@ -45,10 +45,12 @@ def downloads_list():
# TODO: read mirror list or list of available files
return render_template('downloads/list.html', def_mirror=DEFAULT_MIRROR)
# Debian-specific page
def downloads_debian():
return render_template('downloads/debian.html')
# Specific file downloader
def downloads_select(version, file):
if (file == 'debian'):
return render_template('downloads/debian.html', file=file)
mirrors=read_mirrors()
obj=[]
for protocol in mirrors.keys():