Răsfoiți Sursa

버그 수정 1

ect (or 2du) 8 ani în urmă
părinte
comite
83c70a966a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      func.py

+ 1 - 1
func.py

@@ -484,7 +484,7 @@ def re_error(conn, data):
             if not end_data:
                 match = re.search("^([0-9]{1,3}\.[0-9]{1,3})", ip)
                 if match:
-                    curs.execute("select end, why from ban where block = ? and band = 'O'", [m.groups()[0]])
+                    curs.execute("select end, why from ban where block = ? and band = 'O'", [match.groups()[0]])
                     end_data = curs.fetchall()
             
             if end_data: