diff --git a/cgi-bin/sql.py b/cgi-bin/sql.py index 318faa1..e1fbf47 100644 --- a/cgi-bin/sql.py +++ b/cgi-bin/sql.py @@ -309,7 +309,7 @@ def is_master(ip): except sqltool.Error as e: return False else: - return cur + return cur.fetchall() def show_update_servers(): SERVERS = select_servers()