From 6598599c366db77f99343517798efe566d49aa44 Mon Sep 17 00:00:00 2001 From: dev Date: Mon, 12 Jul 2010 19:17:41 +0000 Subject: [PATCH] another fix --- mirror.i2p2/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror.i2p2/app.py b/mirror.i2p2/app.py index c95c9288..8c26e237 100644 --- a/mirror.i2p2/app.py +++ b/mirror.i2p2/app.py @@ -70,7 +70,7 @@ def get(protocol, f): if not protocol in mirrors: abort(404) mirrors=mirrors[protocol] - return redirect(mirrors[randint(0, len(mirrors) - 1)] % f) + return redirect(mirrors[randint(0, len(mirrors) - 1)]['url'] % f) @app.route('/') def old_get(f):