From 1097384c848d4fbfc2539df4b15df1bc7c7d98d6 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Sun, 4 Sep 2011 09:56:44 +0200 Subject: Fix bulklist error when no ip is given --- bulklist.fcgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bulklist.fcgi b/bulklist.fcgi index 5b1913a..1e28f01 100755 --- a/bulklist.fcgi +++ b/bulklist.fcgi @@ -49,7 +49,7 @@ def app(environ, start_response): if ip != "": try: - ip = query.ip_from_string(ip) + ip = query.ip_from_string(ip) except socket.error: ip = 0 @@ -85,7 +85,7 @@ def app(environ, start_response): yield '\n' yield '
\n' yield '\n' - yield '
\n'); + yield '
\n' yield '\n' -- cgit v1.2.1