From 2834ba64a6eb9ae25ee8eaae4587e6e88755e145 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Mon, 17 Oct 2011 20:01:38 +0000 Subject: [PATCH] mirrorprobe: fix str->int issue http://mirrorbrain.org/issues/issue88 --- mirrorprobe/mirrorprobe.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mirrorprobe/mirrorprobe.py b/mirrorprobe/mirrorprobe.py index fd7ac68..7f42bed 100755 --- a/mirrorprobe/mirrorprobe.py +++ b/mirrorprobe/mirrorprobe.py @@ -262,7 +262,7 @@ def main(): # # ignore wildcard mirrors, assuming that they can't be checked by normal means (i.e., baseurl itself may # not give a 200. Just some files are served maybe... - result = conn.Server.select(AND(conn.Server.q.enabled == '1', conn.Server.q.country != '**')) + result = conn.Server.select(AND(conn.Server.q.enabled, conn.Server.q.country != '**')) for i in result: mirrors.append(i) -- 1.7.3.4