This commit is contained in:
str4d
2015-06-24 12:20:50 +00:00
parent 3a07ec3cdd
commit 63aefa0b8e

View File

@@ -95,7 +95,7 @@ def downloads_redirect(version, net, protocol, domain, file):
}
if not protocol:
protocol = mirrors.leys()[randint(0, len(mirrors) - 1)]
protocol = mirrors.keys()[randint(0, len(mirrors) - 1)]
if not protocol in mirrors:
abort(404)
mirrors=mirrors[protocol]